| Total Complexity | 1 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class ScreenAction implements ScreenActionInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var array |
||
| 11 | */ |
||
| 12 | protected $base; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var callable |
||
| 16 | */ |
||
| 17 | protected $callback; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected $screens; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * ajax actions that callback |
||
| 26 | * @var array |
||
| 27 | */ |
||
| 28 | protected $actions; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * |
||
| 32 | */ |
||
| 33 | protected function __construct($base, array $screens, callable $callback, array $actions = []) |
||
| 41 |