File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 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<[email protected] > 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 File
17+ {
18+ /**
19+ * Returns the content of the file as a string.
20+ *
21+ * @return string
22+ */
23+ public function getContents ();
24+
25+ /**
26+ * Returns md5 hash of the file.
27+ *
28+ * @return string
29+ */
30+ public function md5 ();
31+
32+ /**
33+ * Returns an relative path to the file.
34+ *
35+ * @return string
36+ */
37+ public function path ();
38+ }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ interface ProjectFactory
2020 * Creates a project from the set of files.
2121 *
2222 * @param string $name
23- * @param string [] $files
23+ * @param File [] $files
2424 * @return Project
2525 */
2626 public function create ($ name , array $ files );
You can’t perform that action at this time.
0 commit comments