| Total Complexity | 8 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 72.72% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class EventSubscriber |
||
| 10 | { |
||
| 11 | /** @var Valet */ |
||
| 12 | protected $valet; |
||
| 13 | |||
| 14 | 204 | public function __construct(Valet $valet) |
|
| 17 | 204 | } |
|
| 18 | |||
| 19 | 2 | public function siteSecured(SiteSecured $event) |
|
| 26 | } |
||
| 27 | |||
| 28 | 2 | public function siteUnsecured(SiteUnsecured $event) |
|
| 35 | } |
||
| 36 | |||
| 37 | 1 | public function siteRemoved(SiteRemoved $event) |
|
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Register the listeners for the subscriber. |
||
| 48 | * |
||
| 49 | * @param \Illuminate\Events\Dispatcher $events |
||
| 50 | * |
||
| 51 | * @return void |
||
| 52 | */ |
||
| 53 | 204 | public function subscribe($events) |
|
| 60 |