PushManager extends Manager implements PushManagerInterface
Table of Contents
Interfaces
Methods
- __construct() : mixed
- addConnectionPush() : Result
- addSectionPush() : Result
- deletePush() : Result
- getServiceName() : string
- renewPush() : Result
Methods
__construct()
public
__construct(Connection $connection, int $userId) : mixed
Parameters
- $connection : Connection
- $userId : int
Tags
addConnectionPush()
public
addConnectionPush(Connection $connection) : Result
Parameters
- $connection : Connection
Tags
Return values
ResultaddSectionPush()
public
addSectionPush(SectionConnection $link) : Result
Parameters
- $link : SectionConnection
Tags
Return values
ResultdeletePush()
public
deletePush(Push $pushChannel) : Result
Parameters
- $pushChannel : Push
Tags
Return values
ResultgetServiceName()
public
getServiceName() : string
Return values
stringrenewPush()
public
renewPush(Push $pushChannel) : Result
Parameters
- $pushChannel : Push