19 if (!is_a($eventResult, EventResult::class))
23 if ($eventResult->getType() !== EventResult::SUCCESS)
27 if ($eventResult->isAccess() !==
null)
29 $isAccess = ($isAccess ===
null)
30 ? $eventResult->isAccess()
31 : ($isAccess && $eventResult->isAccess());