1 | <?php |
||
26 | class CropFocusType extends AbstractType |
||
27 | { |
||
28 | /** |
||
29 | * @var StyleManager |
||
30 | */ |
||
31 | private $styleManager; |
||
32 | /** |
||
33 | * @var bool |
||
34 | */ |
||
35 | private $displayCoordinates = true; |
||
36 | /** |
||
37 | * @var bool |
||
38 | */ |
||
39 | private $includeJsCss = true; |
||
40 | |||
41 | /** |
||
42 | * CropFocusType constructor. |
||
43 | * |
||
44 | * @param StyleManager $styleManager |
||
45 | * @param array $configuration |
||
46 | */ |
||
47 | public function __construct(StyleManager $styleManager, array $configuration) |
||
56 | |||
57 | /** |
||
58 | * @param OptionsResolver $resolver |
||
59 | */ |
||
60 | public function configureOptions(OptionsResolver $resolver) |
||
76 | |||
77 | /** |
||
78 | * @param FormBuilderInterface $builder |
||
79 | * @param array $options |
||
80 | */ |
||
81 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
85 | |||
86 | /** |
||
87 | * @param FormView $view |
||
88 | * @param FormInterface $form |
||
89 | * @param array $options |
||
90 | */ |
||
91 | public function buildView(FormView $view, FormInterface $form, array $options) |
||
110 | |||
111 | /** |
||
112 | * @return mixed |
||
113 | */ |
||
114 | public function getParent() |
||
118 | } |