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 * Service locator interface
15 interface ServiceLocatorInterface
18 * Retrieve a registered instance
21 * @throws Exception\ServiceNotFoundException
22 * @return object|array
24 public function get($name);
27 * Check for a registered instance
29 * @param string|array $name
32 public function has($name);