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