Debian Codegraph @

lib/3rdParty/composer/phpdocumentor/reflection-common/src/File.php

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 /**
6 * This file is part of phpDocumentor.
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 *
11 * @link http://phpdoc.org
12 */
13
14 namespace phpDocumentor\Reflection;
15
16 /**
17 * Interface for files processed by the ProjectFactory
18 */
19 interface File
20 {
21 /**
22 * Returns the content of the file as a string.
23 */
24 public function getContents() : string;
25
26 /**
27 * Returns md5 hash of the file.
28 */
29 public function md5() : string;
30
31 /**
32 * Returns an relative path to the file.
33 */
34 public function path() : string;
35 }