Pull merge.
[yaffs-website] / web / core / lib / Drupal / Core / FileTransfer / ChmodInterface.php
1 <?php
2
3 namespace Drupal\Core\FileTransfer;
4
5 /**
6  * Defines an interface to chmod files.
7  */
8 interface ChmodInterface {
9
10   /**
11    * Changes the permissions of the file / directory specified in $path
12    *
13    * @param string $path
14    *   Path to change permissions of.
15    * @param int $mode
16    *   The new file permission mode to be passed to chmod().
17    * @param bool $recursive
18    *   Pass TRUE to recursively chmod the entire directory specified in $path.
19    *
20    * @see http://php.net/chmod
21    */
22   public function chmodJailed($path, $mode, $recursive);
23
24 }