1 | <?php |
||
18 | class SingleChannelModeExtension extends AbstractTypeExtension |
||
19 | { |
||
20 | /** |
||
21 | * @var ChannelsByEntitiesProvider |
||
22 | */ |
||
23 | protected $channelsProvider; |
||
24 | |||
25 | /** |
||
26 | * @param ChannelsByEntitiesProvider $channelsProvider |
||
27 | */ |
||
28 | public function __construct(ChannelsByEntitiesProvider $channelsProvider) |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | public function buildView(FormView $view, FormInterface $form, array $options) |
||
70 | |||
71 | /** |
||
72 | * {@inheritdoc} |
||
73 | */ |
||
74 | public function setDefaultOptions(OptionsResolverInterface $resolver) |
||
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | */ |
||
82 | public function getExtendedType() |
||
86 | } |
||
87 |