ChmodInterface.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\Core\FileTransferFile
core/lib/Drupal/Core/FileTransfer/ChmodInterface.phpView source
<?php
namespace Drupal\Core\FileTransfer;
/**
* Defines an interface to chmod files.
*/
interface ChmodInterface {
/**
* Changes the permissions of the file / directory specified in $path
*
* @param string $path
* Path to change permissions of.
* @param int $mode
* The new file permission mode to be passed to chmod().
* @param bool $recursive
* Pass TRUE to recursively chmod the entire directory specified in $path.
*
* @see http://php.net/chmod
*/
public function chmodJailed($path, $mode, $recursive);
}
Interfaces
Name | Description |
---|---|
ChmodInterface | Defines an interface to chmod files. |