class ServiceLocator implements ContainerInterface

Traits

A trait to help implement PSR-11 service locators.

Methods

__construct(array $factories)

No description

has($id)

{@inheritdoc}

get($id)

No description

__invoke($id)

No description

withContext($externalId, Container $container)

No description

Details

__construct(array $factories)

Parameters

array $factories

has($id)

{@inheritdoc}

Parameters

$id

get($id)

Parameters

$id

__invoke($id)

Parameters

$id

withContext($externalId, Container $container)

Parameters

$externalId
Container $container