| 1 | <?php |
||
| 9 | class ValidateSchemaListener |
||
| 10 | { |
||
| 11 | /** @var ValidateSchemaService */ |
||
| 12 | protected $validateSchema; |
||
| 13 | |||
| 14 | /** @var array */ |
||
| 15 | protected $disabledUrls = array(); |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param ValidateSchemaService $validateSchema |
||
| 19 | * @param array $disabledUrls |
||
| 20 | */ |
||
| 21 | public function __construct(ValidateSchemaService $validateSchema, array $disabledUrls) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param GetResponseEvent $event |
||
| 29 | */ |
||
| 30 | public function validateSchema(GetResponseEvent $event) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param GetResponseEvent $event |
||
| 39 | * @return bool |
||
| 40 | */ |
||
| 41 | protected function needValidate(GetResponseEvent $event) |
||
| 58 | } |
||
| 59 |