Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / ServiceManager / DelegatorFactoryInterface.php
blob4180a94dbb2ff017d76929190e071879139d54d1
1 <?php
2 /**
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
8 */
10 namespace Zend\ServiceManager;
12 /**
13 * Interface for factories that can create delegates for services
15 interface DelegatorFactoryInterface
17 /**
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
25 * @return mixed
27 public function createDelegatorWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName, $callback);