MessageHelperService
Responsible for creating helper singletons.
Tags
Table of Contents
- $genericHelper : GenericHelper
- $multipartHelper : MultipartHelper
- $partBuilderFactory : PartBuilderFactory
- $partFactoryService : PartFactoryService
- $privacyHelper : PrivacyHelper
- __construct() : mixed
- Constructor
- getGenericHelper() : GenericHelper
- Returns the GenericHelper singleton
- getMultipartHelper() : MultipartHelper
- Returns the MultipartHelper singleton
- getPrivacyHelper() : PrivacyHelper
- Returns the PrivacyHelper singleton
- setPartFactoryService() : mixed
- Set separately to avoid circular dependencies (PartFactoryService needs a MessageHelperService).
Properties
$genericHelper
private
GenericHelper
$genericHelper
$multipartHelper
private
MultipartHelper
$multipartHelper
$partBuilderFactory
private
PartBuilderFactory
$partBuilderFactory
$partFactoryService
private
PartFactoryService
$partFactoryService
$privacyHelper
private
PrivacyHelper
$privacyHelper
Methods
__construct()
Constructor
public
__construct(PartBuilderFactory $partBuilderFactory) : mixed
Parameters
- $partBuilderFactory : PartBuilderFactory
Return values
mixed —getGenericHelper()
Returns the GenericHelper singleton
public
getGenericHelper() : GenericHelper
Return values
GenericHelper —getMultipartHelper()
Returns the MultipartHelper singleton
public
getMultipartHelper() : MultipartHelper
Return values
MultipartHelper —getPrivacyHelper()
Returns the PrivacyHelper singleton
public
getPrivacyHelper() : PrivacyHelper
Return values
PrivacyHelper —setPartFactoryService()
Set separately to avoid circular dependencies (PartFactoryService needs a MessageHelperService).
public
setPartFactoryService(PartFactoryService $partFactoryService) : mixed
Parameters
- $partFactoryService : PartFactoryService