| 1 | <?php |
||
| 23 | class PathSubscriber implements EventSubscriberInterface |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var DocumentInspector |
||
| 27 | */ |
||
| 28 | private $documentInspector; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param DocumentInspector $documentInspector |
||
| 32 | */ |
||
| 33 | public function __construct(DocumentInspector $documentInspector) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | public static function getSubscribedEvents() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param HydrateEvent $event |
||
| 50 | */ |
||
| 51 | public function handleHydrate(HydrateEvent $event) |
||
| 64 | } |
||
| 65 |