| 1 | <?php |
||
| 22 | class StyleSubscriber implements EventSubscriberInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var StyleRenderer |
||
| 26 | */ |
||
| 27 | private $styleRenderer; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param StyleRenderer $styleRenderer |
||
| 31 | */ |
||
| 32 | 104 | public function __construct(StyleRenderer $styleRenderer) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @param StaticMapEvent $event |
||
| 39 | */ |
||
| 40 | 100 | public function handleMap(StaticMapEvent $event) |
|
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | 104 | public static function getSubscribedEvents() |
|
| 66 | } |
||
| 67 |