| 1 | <?php |
||
| 10 | abstract class Action implements ActionInterface |
||
| 11 | { |
||
| 12 | use AdminAwareTrait; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Action name. |
||
| 16 | * |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $name; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Action configuration (it has been resolved so it should be valid). |
||
| 23 | * |
||
| 24 | * @var ActionConfiguration |
||
| 25 | */ |
||
| 26 | protected $configuration; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Form factory. |
||
| 30 | * |
||
| 31 | * @var FormFactoryInterface |
||
| 32 | */ |
||
| 33 | protected $formFactory; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @inheritdoc |
||
| 37 | * |
||
| 38 | * @param ActionConfiguration $configuration |
||
| 39 | */ |
||
| 40 | 4 | public function setConfiguration(ActionConfiguration $configuration) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @inheritdoc |
||
| 47 | * |
||
| 48 | * @return ActionConfiguration |
||
| 49 | */ |
||
| 50 | public function getConfiguration() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @inheritdoc |
||
| 57 | * |
||
| 58 | * @return bool |
||
| 59 | */ |
||
| 60 | public function isLoadingRequired() |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @inheritdoc |
||
| 70 | * |
||
| 71 | * @return string |
||
| 72 | */ |
||
| 73 | public function getName() |
||
| 77 | } |
||
| 78 |