Zend Framework
2.4
|
Public Member Functions | |
get ($name, array $params=array()) | |
Retrieve a class instance. | |
get | ( | $name, | |
array | $params = array() |
||
) |
Retrieve a class instance.
string | $name | Class name or service name |
null | array | $params | Parameters to be used when instantiating a new instance of $name |
Implemented in Di, DiStrictAbstractServiceFactory, DiServiceFactory, ServiceLocator, and DependencyInjectorProxy.