Chris@12: Chris@12: * @license http://www.opensource.org/licenses/mit-license.php MIT Chris@12: * @link http://phpdoc.org Chris@12: */ Chris@12: Chris@12: namespace phpDocumentor\Reflection; Chris@12: Chris@12: /** Chris@12: * Interface for files processed by the ProjectFactory Chris@12: */ Chris@12: interface File Chris@12: { Chris@12: /** Chris@12: * Returns the content of the file as a string. Chris@12: * Chris@12: * @return string Chris@12: */ Chris@12: public function getContents(); Chris@12: Chris@12: /** Chris@12: * Returns md5 hash of the file. Chris@12: * Chris@12: * @return string Chris@12: */ Chris@12: public function md5(); Chris@12: Chris@12: /** Chris@12: * Returns an relative path to the file. Chris@12: * Chris@12: * @return string Chris@12: */ Chris@12: public function path(); Chris@12: }