You are here

class DelegatingHydratorFactory in Zircon Profile 8

Same name in this branch
  1. 8 vendor/zendframework/zend-hydrator/src/DelegatingHydratorFactory.php \Zend\Hydrator\DelegatingHydratorFactory
  2. 8 vendor/zendframework/zend-stdlib/src/Hydrator/DelegatingHydratorFactory.php \Zend\Stdlib\Hydrator\DelegatingHydratorFactory
Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-hydrator/src/DelegatingHydratorFactory.php \Zend\Hydrator\DelegatingHydratorFactory

Hierarchy

Expanded class hierarchy of DelegatingHydratorFactory

1 file declares its use of DelegatingHydratorFactory
DelegatingHydratorFactory.php in vendor/zendframework/zend-stdlib/src/Hydrator/DelegatingHydratorFactory.php

File

vendor/zendframework/zend-hydrator/src/DelegatingHydratorFactory.php, line 15

Namespace

Zend\Hydrator
View source
class DelegatingHydratorFactory implements FactoryInterface {

  /**
   * Creates DelegatingHydrator
   *
   * @param  ServiceLocatorInterface $serviceLocator
   * @return DelegatingHydrator
   */
  public function createService(ServiceLocatorInterface $serviceLocator) {

    // Assume that this factory is registered with the HydratorManager,
    // and just pass it directly on.
    return new DelegatingHydrator($serviceLocator);
  }

}

Members