trait ArrayAccessContainerInterfaceTrait (View source)

Implementation of ContainerInterface using ArrayAccess methods

Methods

has($key)

No description

get($key)

No description

NotFoundExceptionInterface
newNotFoundException(mixed $key)

Create an exception that should be raised while attempting to access a non-existing element

Details

has($key)

Parameters

$key

get($key)

Parameters

$key

protected NotFoundExceptionInterface newNotFoundException(mixed $key)

Create an exception that should be raised while attempting to access a non-existing element

Parameters

mixed $key Element key

Return Value

NotFoundExceptionInterface