/** * Handle the event. * * @param ServerWasPoked $event * * @return void */ public function handle(ServerWasPoked $event) { Poke::create($event->getDevice()->toArray()); }