FailsafeContainer

class \TYPO3\CMS\Core\DependencyInjection\FailsafeContainer

Implements
ContainerInterface

Table of Contents

Interfaces

ContainerInterface

Methods

__construct()  : mixed
Instantiate the container.
get()  : mixed
has()  : bool

Methods

__construct()

Instantiate the container.

public __construct([iterable<string|int, mixed> $providers = [] ][, array $entries = [] ]) : mixed

Objects and parameters can be passed as argument to the constructor.

Parameters

$providers : iterable<string|int, mixed> = []

The service providers to register.

$entries : array = []

The default parameters or objects.

get()

public get(string $id) : mixed

Parameters

$id : string

has()

public has(string $id) : bool

Parameters

$id : string

Return values

bool
On this page