Function Commandr_fs->make_directory
Definitions
sources/commandr_fs.php
- Create a directory under the current working directory. Equivalent to Unix "mkdir".
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $directory | array | No | No | required parameter | N/A | N/A | The new directory's path and name |
Returns
- Success?
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Create a directory under the current working directory. Equivalent to Unix "mkdir".
*
* @param array $directory The new directory's path and name
* @return boolean Success?
*/
public function make_directory(array $directory) : bool
* Create a directory under the current working directory. Equivalent to Unix "mkdir".
*
* @param array $directory The new directory's path and name
* @return boolean Success?
*/
public function make_directory(array $directory) : bool

