Symfony\Component\Filesystem\Filesystem::chgrp
Change the group of an array of files or directories
Signature
public function chgrp(Traversable
$files,
[string
$group = false,
[Boolean
$recursive = false]] )
Parameters
$files
— object- A filename, an array of files, or a \Traversable instance to change group
$group
— string- The group name
$recursive
— object- Whether change the group recursively or not
Errors/Exceptions
-
IOException
- When the change fail