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