| 1 | <?php |
||
| 24 | class LocaleSubscriber implements EventSubscriberInterface |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @var DocumentRegistry |
||
| 28 | */ |
||
| 29 | private $registry; |
||
| 30 | |||
| 31 | public function __construct(DocumentRegistry $registry) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public static function getSubscribedEvents() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param AbstractMappingEvent $event |
||
| 49 | * |
||
| 50 | * @throws DocumentManagerException |
||
| 51 | */ |
||
| 52 | public function handleLocale(AbstractMappingEvent $event) |
||
| 65 | } |
||
| 66 |