| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class ControllerAction extends ActionAbstract |
||
| 8 | { |
||
| 9 | private string $controllerClass; |
||
| 10 | private ?string $method; |
||
| 11 | |||
| 12 | public function __construct(string $controllerClass, ?string $method = null) |
||
| 13 | { |
||
| 14 | $this->controllerClass = $controllerClass; |
||
| 15 | |||
| 16 | $this->method = $method; |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Execute Action. |
||
| 21 | */ |
||
| 22 | public function run() |
||
| 31 | } |
||
| 32 | } |
||
| 33 |