comparison vendor/phpdocumentor/reflection-common/src/File.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents
children
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
1 <?php
2 /**
3 * This file is part of phpDocumentor.
4 *
5 * For the full copyright and license information, please view the LICENSE
6 * file that was distributed with this source code.
7 *
8 * @copyright 2010-2015 Mike van Riel<mike@phpdoc.org>
9 * @license http://www.opensource.org/licenses/mit-license.php MIT
10 * @link http://phpdoc.org
11 */
12
13 namespace phpDocumentor\Reflection;
14
15 /**
16 * Interface for files processed by the ProjectFactory
17 */
18 interface File
19 {
20 /**
21 * Returns the content of the file as a string.
22 *
23 * @return string
24 */
25 public function getContents();
26
27 /**
28 * Returns md5 hash of the file.
29 *
30 * @return string
31 */
32 public function md5();
33
34 /**
35 * Returns an relative path to the file.
36 *
37 * @return string
38 */
39 public function path();
40 }