PHP Interface Zend\ServiceManager\ServiceLocatorInterface

Inheritance: extends Interop\Container\ContainerInterface
显示文件 Open project: zendframework/zend-servicemanager Interface Usage Examples

Public Methods

Method Description
build ( string $name, array $options = null ) : mixed Build a service by its name, using optional options (such services are NEVER cached).

Method Details

build() public method

Build a service by its name, using optional options (such services are NEVER cached).
public build ( string $name, array $options = null ) : mixed
$name string
$options array
return mixed