| 1 | <?php |
||
| 22 | class DoctrineAdapterLocator implements FileLocatorInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var FileLocator |
||
| 26 | */ |
||
| 27 | protected $locator; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * DoctrineAdapterLocator constructor. |
||
| 31 | * |
||
| 32 | * @param FileLocator $locator |
||
| 33 | */ |
||
| 34 | public function __construct(FileLocator $locator) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param \ReflectionClass $class |
||
| 41 | * @param string $extension |
||
| 42 | * |
||
| 43 | * @return string|null |
||
| 44 | */ |
||
| 45 | public function findFileForClass(\ReflectionClass $class, $extension) |
||
| 55 | } |
||
| 56 |