You are here

public function DelegatingHydratorFactory::createService in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-hydrator/src/DelegatingHydratorFactory.php \Zend\Hydrator\DelegatingHydratorFactory::createService()

Creates DelegatingHydrator

Parameters

ServiceLocatorInterface $serviceLocator:

Return value

DelegatingHydrator

File

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

Class

DelegatingHydratorFactory

Namespace

Zend\Hydrator

Code

public function createService(ServiceLocatorInterface $serviceLocator) {

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