xiidea /
EasyConfigBundle
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Xiidea\EasyConfigBundle\Services\FormGroup; |
||
| 4 | |||
| 5 | use Symfony\Component\Form\FormFactory; |
||
| 6 | use Symfony\Component\Form\FormInterface; |
||
| 7 | |||
| 8 | interface ConfigGroupInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Build and return form to handle request binding for policy. |
||
| 12 | * |
||
| 13 | * @param null $data |
||
|
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
| 14 | */ |
||
| 15 | public function getForm(FormFactory $formFactory, $data = null, array $options = []): FormInterface; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return string User friendly string to describe this policies group |
||
| 19 | */ |
||
| 20 | public function getLabel(): string; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return string Base key of policy group |
||
| 24 | */ |
||
| 25 | public function getNameSpace(): string; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return string|null role for allowing editing policy |
||
| 29 | */ |
||
| 30 | public function getAuthorSecurityLevels(): ?string; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string|null role for viewing policy |
||
| 34 | */ |
||
| 35 | public function getViewSecurityLevels(): ?string; |
||
| 36 | } |
||
| 37 |