MercureService
class MercureService (View source)
An object-oriented wrapper for working with Channel objects with the Symfony Mercure service.
Properties
protected JsonSerializer | $serializer | ||
protected Repository | $config | ||
protected Application | $app | ||
protected PublisherInterface | $publisher | ||
protected ResolverManagerInterface | $urlResolver |
Methods
__construct(JsonSerializer $serializer, Application $app, Repository $config, ResolverManagerInterface $urlResolver)
No description
bool
isEnabled()
No description
string
getPublisherUrl()
No description
PublisherInterface
getPublisher()
No description
void
Details
__construct(JsonSerializer $serializer, Application $app, Repository $config, ResolverManagerInterface $urlResolver)
No description
bool
isEnabled()
No description
string
getPublisherUrl()
No description
PublisherInterface
getPublisher()
No description
void
sendUpdate(EventInterface $event)
No description