| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 60% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class ScriptWasDeletedEvent extends Event |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * The listeners that will be fired when the event is dispatched. |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | public $listeners = []; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var Script |
||
| 19 | */ |
||
| 20 | public $script; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Create a new event instance. |
||
| 24 | * |
||
| 25 | */ |
||
| 26 | 1 | public function __construct(Script $script) |
|
| 29 | 1 | } |
|
| 30 | |||
| 31 | /** |
||
| 32 | * Get the channels the event should be broadcast on. |
||
| 33 | * |
||
| 34 | * @return array |
||
| 35 | */ |
||
| 36 | public function broadcastOn() |
||
| 41 |