Zend Framework  2.4
Namespaces | Classes | Functions | Variables
Zend\ServiceManager Namespace Reference

Zend Framework (http://framework.zend.com/) More...

Namespaces

namespace  Di
 Zend Framework (http://framework.zend.com/)
 
namespace  Exception
 Zend Framework (http://framework.zend.com/)
 
namespace  Proxy
 Zend Framework (http://framework.zend.com/)
 

Classes

interface  AbstractFactoryInterface
 
class  AbstractPluginManager
 ServiceManager implementation for managing plugins. More...
 
class  Config
 
interface  ConfigInterface
 
interface  DelegatorFactoryInterface
 Interface for factories that can create delegates for services. More...
 
interface  FactoryInterface
 
interface  InitializerInterface
 
interface  MutableCreationOptionsInterface
 
interface  ServiceLocatorAwareInterface
 
interface  ServiceLocatorInterface
 Service locator interface. More...
 
class  ServiceManager
 
interface  ServiceManagerAwareInterface
 

Functions

 setCreationOptions (array $creationOptions)
 Set creation options.
 
 getCreationOptions ()
 Get creation options.
 
 setServiceLocator (ServiceLocatorInterface $serviceLocator)
 Set service locator.
 
 getServiceLocator ()
 Get service locator.
 

Variables

trait MutableCreationOptionsTrait
 Trait for MutableCreationOptions Factories.
 
trait ServiceLocatorAwareTrait
 

Detailed Description

Zend Framework (http://framework.zend.com/)

for the canonical source repository Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) http://framework.zend.com/license/new-bsd New BSD License

Function Documentation

Zend\ServiceManager\getCreationOptions ( )

Get creation options.

Returns
array
Zend\ServiceManager\getServiceLocator ( )

Get service locator.

Returns
ServiceLocatorInterface
Zend\ServiceManager\setCreationOptions ( array  $creationOptions)

Set creation options.

Parameters
array$creationOptions
Returns
void
Zend\ServiceManager\setServiceLocator ( ServiceLocatorInterface  $serviceLocator)

Set service locator.

Parameters
ServiceLocatorInterface$serviceLocator
Returns
mixed

Variable Documentation

trait MutableCreationOptionsTrait
Initial value:
{
protected $creationOptions = array()

Trait for MutableCreationOptions Factories.

trait ServiceLocatorAwareTrait
Initial value:
{
protected $serviceLocator = null