[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/drydock/interface/filesystem/ -> DrydockFilesystemInterface.php (source)

   1  <?php
   2  
   3  abstract class DrydockFilesystemInterface extends DrydockInterface {
   4  
   5    final public function getInterfaceType() {
   6      return 'filesystem';
   7    }
   8  
   9    /**
  10     * Reads a file on the Drydock resource and returns the contents of the file.
  11     */
  12    abstract public function readFile($path);
  13  
  14    /**
  15     * Reads a file on the Drydock resource and saves it as a PhabricatorFile.
  16     */
  17    abstract public function saveFile($path, $name);
  18  
  19    /**
  20     * Writes a file to the Drydock resource.
  21     */
  22    abstract public function writeFile($path, $data);
  23  
  24  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1