| 1 | <?php |
||
| 24 | class CreatedCrudController extends CreateController |
||
| 25 | { |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @readwrite |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | protected $entityName; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | protected $template = 'crud-controller.twig'; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Configures the controller generator |
||
| 40 | * |
||
| 41 | * @param Controller $controller |
||
| 42 | */ |
||
| 43 | protected function configureController(Controller $controller) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Sets the entity class name |
||
| 52 | * |
||
| 53 | * @param string $entityName |
||
| 54 | */ |
||
| 55 | public function setEntityName($entityName) |
||
| 64 | } |