This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
string | Value of the constant. |
string | $path | File path to read. This file must exist and be readable, or an exception will be thrown. |
string | Contents of the specified file. |
string | $path | File path to write. This file must be writable and its parent directory must exist. |
string | $data | Data to write. |
string | $path | file path to write |
string | $data | data to write |
boolean | indicating whether the file was changed by this function. |
string | $base | Suggested filename, like "example.bak". This name will be used if it does not exist, or some similar name will be chosen if it does. |
string | $data | Data to write to the file. |
string | Path to a newly created and written file which did not previously exist, like "example.bak.3". |
string | $path | File path to write. This file must be writable or its parent directory must exist and be writable. |
string | $data | Data to write. |
string | $from | File path to copy from. This file must exist and be readable, or an exception will be thrown. |
string | $to | File path to copy to. If a file exists at this path already, it wll be overwritten. |
string | $path | File to a path or directory to remove. |
string | $old | Old path. |
string | $new | New path. |
string | $path | File to a path or directory to remove. |
string | $path | Path to the file or directory. |
int | $umask | Permission umask. Note that umask is in octal, so you should specify it as, e.g., `0777', not `777'. |
int | $number_of_bytes | Number of bytes to read. |
string | Random bytestring of the provided length. |
int | $number_of_characters | Number of characters to read. |
string | Random character string of the provided length. |
int | $min | Minimum value, inclusive. |
int | $max | Maximum value, inclusive. |
string | $path | Path to the file to examine. |
string | $default | Optional default mime type to return if the file's mime type can not be identified. |
string | $path | Path to directory. The parent directory must exist and be writable. |
int | $umask | Permission umask. Note that umask is in octal, so you should specify it as, e.g., `0777', not `777'. |
boolean | $recursive | Recursively create directories. Default to false. |
string | Path to the created directory. |
string | $prefix | Optional directory prefix. |
int | $umask | Permissions to create the directory with. By default, these permissions are very restrictive (0700). |
string | $root_directory | Optional root directory. If not provided, the system temporary directory (often "/tmp") will be used. |
string | Path to newly created temporary directory. |
string | $path | Path, absolute or relative to PWD. |
bool | $include_hidden | If false, exclude files beginning with a ".". |
array | List of files and directories in the specified directory, excluding `.' and `..'. |
string | $path | Path, absolute or relative to PWD. |
string | $root | The root directory. |
list<string> | List of parent paths, including the provided path. |
string | $path | Path, absolute or relative to PWD. |
| $relative_to | |
string | Canonical, absolute path. |
string | $path | Child path, absolute or relative to PWD. |
string | $root | Root path, absolute or relative to PWD. |
bool | True if resolved child path is in fact a descendant of resolved root path and both exist. |
string | $path | Path, absolute or relative to PWD. |
string | $pwd | Optionally, working directory to make files readable relative to. |
string | Human-readable path. |
string | $path | Test for the existence of this path. |
bool | True if the path exists in the filesystem. |
string | $binary | Binary name, like `'git'` or `'svn'`. |
bool | True if the binary exists and is executable. |
string | $binary | Binary name, like `'git'` or `'svn'`. |
string | The full binary path if it is present, or null. |
string | $u | First path to test for equivalence. |
string | $v | Second path to test for equivalence. |
bool | True if both paths are equivalent, i.e. reference the same entity in the filesystem. |
This method is not documented.
string | $path | Assert that this path exists. |
string | $path | Assert that this path does not exist. |
string | $path | Assert that this path is a file. |
string | $path | Assert that this path is a directory. |
string | $path | Assert that this path is writable. |
string | $path | Assert that this path is readable. |