use zend router
[GitHub/Stricted/Domain-Control-Panel.git] / vendor / Zend / Stdlib / Hydrator / DelegatingHydratorFactory.php
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
4 *
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
9
10 namespace Zend\Stdlib\Hydrator;
11
12 use Zend\ServiceManager\FactoryInterface;
13 use Zend\ServiceManager\ServiceLocatorInterface;
14
15 /**
16 * @deprecated Use Zend\Hydrator\DelegatingHydratorFactory from zendframework/zend-hydrator instead.
17 */
18 class DelegatingHydratorFactory implements FactoryInterface
19 {
20 public function createService(ServiceLocatorInterface $serviceLocator)
21 {
22 // Assume that this factory is registered with the HydratorManager,
23 // and just pass it directly on.
24 return new DelegatingHydrator($serviceLocator);
25 }
26 }