| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class Event extends \suda\framework\Event |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var Application |
||
| 12 | */ |
||
| 13 | protected $application; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Event constructor. |
||
| 17 | * @param Application $application |
||
| 18 | */ |
||
| 19 | public function __construct(Application $application) |
||
| 20 | { |
||
| 21 | $this->application = $application; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $event |
||
| 26 | * @param mixed $command |
||
| 27 | * @param array $args |
||
| 28 | * @return mixed |
||
| 29 | */ |
||
| 30 | protected function call(string $event, $command, array &$args) |
||
| 47 | } |
||
| 48 | } |
||
| 50 |