1 | <?php |
||
17 | abstract class GenericDisplayElement extends AbstractElement implements Element |
||
18 | { |
||
19 | /** |
||
20 | * {@inheritdoc} |
||
21 | */ |
||
22 | public function getRoute() |
||
26 | |||
27 | /** |
||
28 | * @param \Symfony\Component\OptionsResolver\OptionsResolver $resolver |
||
29 | * @return mixed |
||
30 | */ |
||
31 | public function setDefaultOptions(OptionsResolver $resolver) |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function configureOptions(OptionsResolver $resolver) |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function createDisplay($object) |
||
64 | |||
65 | /** |
||
66 | * @param mixed $object |
||
67 | * @return Display |
||
68 | */ |
||
69 | abstract protected function initDisplay($object); |
||
70 | } |
||
71 |