| Total Complexity | 4 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class TestEvent implements EventInterface |
||
| 9 | { |
||
| 10 | const EVENT_NAME = 'THREAD_TEST'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $eventParam; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * TestEvent constructor. |
||
| 19 | * |
||
| 20 | * @param $param |
||
| 21 | */ |
||
| 22 | public function __construct($param) |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return mixed |
||
| 29 | */ |
||
| 30 | public function getEventParam() |
||
| 31 | { |
||
| 32 | return $this->eventParam; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param mixed $eventParam |
||
| 37 | * @return TestEvent |
||
| 38 | */ |
||
| 39 | public function setEventParam($eventParam) |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function getEventName(): string |
||
| 52 | } |
||
| 53 | |||
| 55 | } |