FactoryBase implements FactoryInterface, ServiceInterface, PushFactoryInterface
AbstractYes
Table of Contents
Interfaces
Constants
- SERVICE_NAME = ''
- you should set a constant for the following classes
Methods
- __construct() : mixed
- canSubscribeConnection() : bool
- canSubscribeSection() : bool
- getContext() : Context|null
- todo You need to return the Context instance by getting it from the Context
- getPushManager() : PushManagerInterface|null
- getServiceName() : string
Constants
SERVICE_NAME
you should set a constant for the following classes
public
string
SERVICE_NAME
= ''
Methods
__construct()
public
__construct(Connection $connection[, Context $context = null ]) : mixed
Parameters
- $connection : Connection
- $context : Context = null
Tags
canSubscribeConnection()
public
canSubscribeConnection() : bool
Return values
boolcanSubscribeSection()
public
canSubscribeSection() : bool
Return values
boolgetContext()
todo You need to return the Context instance by getting it from the Context
public
abstract getContext() : Context|null
Return values
Context|nullgetPushManager()
public
getPushManager() : PushManagerInterface|null
Return values
PushManagerInterface|nullgetServiceName()
public
getServiceName() : string