[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/zendframework/zend-stdlib/src/Hydrator/ -> DelegatingHydratorFactory.php (source)

   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  class DelegatingHydratorFactory implements FactoryInterface
  16  {
  17      /**
  18       * Creates DelegatingHydrator
  19       *
  20       * @param  ServiceLocatorInterface $serviceLocator
  21       * @return DelegatingHydrator
  22       */
  23      public function createService(ServiceLocatorInterface $serviceLocator)
  24      {
  25          // Assume that this factory is registered with the HydratorManager,
  26          // and just pass it directly on.
  27          return new DelegatingHydrator($serviceLocator);
  28      }
  29  }


Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1