| 1 | <?php |
||
| 11 | */ |
||
| 12 | class AnnotationClassLoader extends BaseAnnotationClassLoader |
||
| 13 | { |
||
| 14 | /** @var callable */ |
||
| 15 | private $configurationStrategy; |
||
| 16 | |||
| 17 | public function __construct(Reader $reader, callable $configurationStrategy) |
||
| 23 | |||
| 24 | protected function configureRoute(Route $route, \ReflectionClass $class, \ReflectionMethod $method, $annot) |
||
| 25 | { |
||
| 26 | $configure = $this->configurationStrategy; |
||
| 27 | $configure($route, $class, $method, $annot); |
||
| 30 |