trait ServiceLocatorTrait

A trait to help implement PSR-11 service locators.

Methods

__construct(array $factories)

No description

has($id)

{@inheritdoc}

get($id)

{@inheritdoc}

Details

at line 31
__construct(array $factories)

Parameters

array $factories

at line 39
has($id)

{@inheritdoc}

Parameters

$id

at line 47
get($id)

{@inheritdoc}

Parameters

$id