Function Commandr_fs->_pwd_to_array

Definitions

sources/commandr_fs.php

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

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$pwd string No No required parameter N/A N/A Path

Returns

  • Array-form path
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Convert a string-form path to an array.
 *
 * @param  string $pwd Path
 * @return array Array-form path
 */

public function _pwd_to_array(string $pwd) : array