<?php class_implements(object|string $object_or_class, bool $autoload = true): array|false
<?php protected function addInterfaceListeners($eventName, array $listeners = []) { foreach (class_implements($eventName) as $interface) { if (isset($this->listeners[$interface])) { foreach ($this->prepareListeners($interface) as $names) { $listeners = array_merge($listeners, (array) $names);
<?php return $event; } $interfaces = class_implements($event); if (in_array(ShouldBroadcast::class, $interfaces)) { $event .= ' <fg=bright-blue>(ShouldBroadcast)</>';
<?php { $listener = explode('@', $listener); $interfaces = class_implements($listener[0]); $listener = implode('@', $listener);
<?php '__laravel_notification' => get_class($notification), '__laravel_notification_queued' => in_array( ShouldQueue::class, class_implements($notification) ), ]; }
<?php yield $stripped; $interfaces = @class_implements($stripped); if ($interfaces !== false) { foreach ($interfaces as $interface) {