class CommunityServiceFactory (View source)

Class CommunityServiceFactory A simple factory class for creating community authentication services

Properties

protected Repository $config
protected Session $session
protected ResolverManagerInterface $urlResolver
protected Request $request

Methods

__construct(Repository $config, Session $session, ResolverManagerInterface $url, Request $request)

CommunityServiceFactory constructor.

ServiceInterface
createService(ServiceFactory $factory)

Create a service object given a ServiceFactory object

Details

__construct(Repository $config, Session $session, ResolverManagerInterface $url, Request $request)

CommunityServiceFactory constructor.

Parameters

Repository $config
Session $session
ResolverManagerInterface $url
Request $request

ServiceInterface createService(ServiceFactory $factory)

Create a service object given a ServiceFactory object

Parameters

ServiceFactory $factory

Return Value

ServiceInterface