| Total Complexity | 6 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class Event extends \ArrayObject implements EventInterface |
||
| 18 | { |
||
| 19 | use EventTrait; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Create new event from string or other event object. |
||
| 23 | * |
||
| 24 | * @param string|self|null $event Event name or object |
||
| 25 | * @param EventEmitterInterface|null $target Event target object |
||
| 26 | * @param array $values Custom event values |
||
| 27 | */ |
||
| 28 | public function __construct($event = null, $target = null, array $values = []) |
||
| 48 |