1667. Class

1667.1. Zend\Mvc\Service\DiStrictAbstractServiceFactory

1667.1.1. Methods

1667.1.1.1. __construct

__construct()

@param Di $di

Parameters:string

1667.1.1.2. setAllowedServiceNames

setAllowedServiceNames()

@param array $allowedServiceNames

1667.1.1.3. getAllowedServiceNames

getAllowedServiceNames()

@return array

1667.1.1.4. createServiceWithName

createServiceWithName()

{@inheritDoc}

Allows creation of services only when in a whitelist

1667.1.1.5. get

get()

Overrides ZendDi to allow the given serviceLocator’s services to be reused by Di itself

{@inheritDoc}

1667.1.1.6. canCreateServiceWithName

canCreateServiceWithName()

{@inheritDoc}

Allows creation of services only when in a whitelist

1667.1.2. Constants

1667.1.2.1. USE_SL_BEFORE_DI

1667.1.2.2. USE_SL_AFTER_DI

1667.1.2.3. USE_SL_NONE