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
;
12 interface AbstractFactoryInterface
15 * Determine if we can create a service with name
17 * @param ServiceLocatorInterface $serviceLocator
19 * @param $requestedName
22 public function canCreateServiceWithName(ServiceLocatorInterface
$serviceLocator, $name, $requestedName);
25 * Create service with name
27 * @param ServiceLocatorInterface $serviceLocator
29 * @param $requestedName
32 public function createServiceWithName(ServiceLocatorInterface
$serviceLocator, $name, $requestedName);