| 1 | <?php |
||
| 12 | class Reader implements ReaderInterface |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var Filesystem |
||
| 17 | */ |
||
| 18 | protected $filesystem; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param Filesystem $filesystem |
||
| 22 | */ |
||
| 23 | public function __construct(Filesystem $filesystem) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Reads a file to return the source code. |
||
| 30 | * |
||
| 31 | * @param string $path |
||
| 32 | * @return SourceCode |
||
| 33 | */ |
||
| 34 | public function read($path) |
||
| 40 | |||
| 41 | } |
||
| 42 |