You are here

public function HydratorAwareTrait::setHydrator in Zircon Profile 8

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

Set hydrator

@access public

Parameters

HydratorInterface $hydrator:

Return value

self

File

vendor/zendframework/zend-hydrator/src/HydratorAwareTrait.php, line 29

Class

HydratorAwareTrait

Namespace

Zend\Hydrator

Code

public function setHydrator(HydratorInterface $hydrator) {
  $this->hydrator = $hydrator;
  return $this;
}