Table of Contents
Interfaces
- StartSynchronization
Methods
-
__construct()
: mixed
-
addStatusHandler()
: $this
-
addStatusHandlerList()
: $this
-
createConnection()
: Connection
-
getStatusHandlerList()
: array<string|int, callable>
-
initSubscription()
: void
-
sendPushNotification()
: void
-
start()
: Connection|null
-
synchronize()
: array<string|int, mixed>|array<string|int, string>
__construct()
public
__construct(mixed $userId) : mixed
Parameters
-
$userId
: mixed
-
-
throws
-
ArgumentException
-
throws
-
ObjectNotFoundException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
-
throws
-
NotFoundExceptionInterface
addStatusHandler()
public
addStatusHandler(callable $handler) : $this
Parameters
-
$handler
: callable
-
addStatusHandlerList()
public
addStatusHandlerList(array<string|int, callable> $handlers) : $this
Parameters
-
$handlers
: array<string|int, callable>
-
createConnection()
public
createConnection(Connection $mapper) : Connection
Parameters
-
$mapper
: Connection
-
-
throws
-
ArgumentException
-
throws
-
ObjectException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
getStatusHandlerList()
public
getStatusHandlerList() : array<string|int, callable>
Return values
array<string|int, callable>
initSubscription()
public
initSubscription(Connection $connection) : void
Parameters
-
$connection
: Connection
-
-
throws
-
ArgumentException
-
throws
-
ObjectException
-
throws
-
ObjectNotFoundException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
sendPushNotification()
public
sendPushNotification(Connection $connection) : void
Parameters
-
$connection
: Connection
-
start()
public
start() : Connection|null
-
throws
-
Exception
-
throws
-
BaseException
synchronize()
public
synchronize() : array<string|int, mixed>|array<string|int, string>
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
Return values
array<string|int, mixed>|array<string|int, string>