class Subscriber (View source)

Properties

protected array $topics

Topic URLs to subscribe to in Mercure

protected ResponseCookieJar $cookieJar
protected Application $app

Methods

__construct(Application $app, ResponseCookieJar $cookieJar)

No description

addTopics(array $topics)

No description

addTopic(string|TopicInterface $topic)

No description

array
getTopics()

No description

removeTopics(array $topicsToRemove)

No description

string
getSubscriberJwt()

No description

refreshAuthorizationCookie()

No description

Details

__construct(Application $app, ResponseCookieJar $cookieJar)

No description

Parameters

Application $app
ResponseCookieJar $cookieJar

addTopics(array $topics)

No description

Parameters

array $topics

addTopic(string|TopicInterface $topic)

No description

Parameters

string|TopicInterface $topic

array getTopics()

No description

Return Value

array

removeTopics(array $topicsToRemove)

No description

Parameters

array $topicsToRemove

private string getSubscriberJwt()

No description

Return Value

string

refreshAuthorizationCookie()

No description