Service locator interface

package Default

 Methods

Retrieve a registered instance

get(string $name) : object | array

Parameters

$name

string

Exceptions

\Zend\ServiceManager\Exception\ServiceNotFoundException

Returns

objectarray

Check for a registered instance

has(string|array $name) : boolean

Parameters

$name

stringarray

Returns

boolean