Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace PhpOffice\PhpProject\Reader; |
| 6 | |
| 7 | interface ReaderInterface |
| 8 | { |
| 9 | /** |
| 10 | * Can the current ReaderInterface read the file? |
| 11 | * |
| 12 | * @param string $pFilename |
| 13 | * @return bool |
| 14 | */ |
| 15 | public function canRead(string $pFilename): bool; |
| 16 | |
| 17 | /** |
| 18 | * Loads PHPProject from file |
| 19 | * |
| 20 | * @param string $pFilename |
| 21 | * @return \PhpOffice\PhpProject\PhpProject |
| 22 | */ |
| 23 | public function load(string $pFilename): \PhpOffice\PhpProject\PhpProject; |
| 24 | } |