Function Commandr_fs->pwd_to_string

Definitions

sources/commandr_fs.php

  • Convert an array-form path to a string.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$pwd ?array No No Null N/A N/A Path (null: use $this->pwd)

Returns

  • String-form path
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Convert an array-form path to a string.
 *
 * @param  ?array $pwd Path (null: use $this->pwd)
 * @return string String-form path
 */

public function pwd_to_string(?array $pwd = null) : string