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