3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\ServiceManager
;
13 * Interface for factories that can create delegates for services
15 interface DelegatorFactoryInterface
18 * A factory that creates delegates of a given service
20 * @param ServiceLocatorInterface $serviceLocator the service locator which requested the service
21 * @param string $name the normalized service name
22 * @param string $requestedName the requested service name
23 * @param callable $callback the callback that is responsible for creating the service
27 public function createDelegatorWithName(ServiceLocatorInterface
$serviceLocator, $name, $requestedName, $callback);