public function onEvent(Event $event) { if ($event->isFor(Contact::class)) { $this->processContactEvent($event); } }