Filesystem::chmod()

chmod(string|array|Traversable $files, int $mode, int $umask, bool $recursive = false)

Change mode for an array of files or directories.

Parameters

string|array|Traversable $files A filename, an array of files, or a \Traversable instance to change mode
int $mode The new mode (octal)
int $umask The mode mask (octal)
bool $recursive Whether change the mod recursively or not

Exceptions

IOException When the change fail
doc_Symfony
2016-10-28 06:16:38
Comments
Leave a Comment

Please login to continue.