/** * @param Event $event * @return null|mixed * * Get the object from the event * * if return null or false, the action will throw a 404 */ protected function extractObjectFromEvent(Event $event) { return $event->getCustomer(); }