| Total Complexity | 8 |
| Total Lines | 54 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class Psr0FindFile implements ClassFinderInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * The PSR-0 prefixes. |
||
| 19 | * |
||
| 20 | * @var string[][] |
||
| 21 | */ |
||
| 22 | protected $prefixes; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string[][] $prefixes An array of prefixes. Each key is a PHP namespace and each value is |
||
| 26 | * a list of directories. |
||
| 27 | */ |
||
| 28 | 18 | public function __construct($prefixes) |
|
| 31 | 18 | } |
|
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritDoc} |
||
| 35 | */ |
||
| 36 | 18 | public function findFile($class) |
|
| 71 |