Services
in package
Class Services
Table of Contents
Methods
- createApiOverrides() : AdhocProvider
- Tap into the API kernel and override some of the core APIs.
- registerServices() : mixed
- applyStaticFactory() : Definition
- Adapter for using factory methods in old+new versions of Symfony.
- getListenerSpecs() : array<string|int, mixed>
- Get a list of listeners required for FlexMailer.
Methods
createApiOverrides()
Tap into the API kernel and override some of the core APIs.
public
static createApiOverrides() : AdhocProvider
Return values
AdhocProviderregisterServices()
public
static registerServices(ContainerBuilder $container) : mixed
Parameters
- $container : ContainerBuilder
applyStaticFactory()
Adapter for using factory methods in old+new versions of Symfony.
protected
static applyStaticFactory(Definition $def, string $factoryClass, string $factoryMethod) : Definition
Parameters
- $def : Definition
- $factoryClass : string
- $factoryMethod : string
Return values
DefinitiongetListenerSpecs()
Get a list of listeners required for FlexMailer.
protected
static getListenerSpecs() : array<string|int, mixed>
This is a standalone, private function because we're experimenting
with how exactly to handle the registration -- e.g. via
registerServices()
or via registerListeners()
.
Return values
array<string|int, mixed> —Arguments to pass to addListenerService($eventName, $callbackSvc, $priority).