Documentation

Services

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

registerServices()

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
Definition

getListenerSpecs()

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).


        
On this page

Search results