Since LIN3S\SharedKernel\Domai...nt\DomainEventPublisher is declared final, using late-static binding will have no effect. You might want to replace static with self instead.
Late static binding only has effect in subclasses.
A final class cannot be extended anymore so late static binding cannot occurr.
Consider replacing static:: with self::.
To learn more about late static binding, please refer to the PHP core
documentation.
Since LIN3S\SharedKernel\Domai...nt\DomainEventPublisher is declared final, using late-static binding will have no effect. You might want to replace static with self instead.
Late static binding only has effect in subclasses.
A final class cannot be extended anymore so late static binding cannot occurr.
Consider replacing static:: with self::.
To learn more about late static binding, please refer to the PHP core
documentation.
Since LIN3S\SharedKernel\Domai...nt\DomainEventPublisher is declared final, using late-static binding will have no effect. You might want to replace static with self instead.
Late static binding only has effect in subclasses.
A final class cannot be extended anymore so late static binding cannot occurr.
Consider replacing static:: with self::.
To learn more about late static binding, please refer to the PHP core
documentation.
Loading history...
44
}
45
46
public function subscribe(DomainEventSubscriber $domainEventSubscriber) : void
47
{
48
$this->subscribers[] = $domainEventSubscriber;
49
}
50
51
public function publish(DomainEvent $domainEvent) : void
Late static binding only has effect in subclasses. A
final
class cannot be extended anymore so late static binding cannot occurr. Consider replacingstatic::
withself::
.To learn more about late static binding, please refer to the PHP core documentation.