You are here

interface HydratingIteratorInterface in Zircon Profile 8.0

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

Hierarchy

Expanded class hierarchy of HydratingIteratorInterface

All classes that implement HydratingIteratorInterface

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

File

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

Namespace

Zend\Hydrator\Iterator
View source
interface HydratingIteratorInterface extends Iterator {

  /**
   * This sets the prototype to hydrate.
   *
   * This prototype can be the name of the class or the object itself;
   * iteration will clone the object.
   *
   * @param string|object $prototype
   */
  public function setPrototype($prototype);

  /**
   * Sets the hydrator to use during iteration.
   *
   * @param HydratorInterface $hydrator
   */
  public function setHydrator(HydratorInterface $hydrator);

}

Members

Namesort descending Modifiers Type Description Overrides
HydratingIteratorInterface::setHydrator public function Sets the hydrator to use during iteration. 1
HydratingIteratorInterface::setPrototype public function This sets the prototype to hydrate. 1