public function HydratingIteratorInterface::setPrototype in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-hydrator/src/Iterator/HydratingIteratorInterface.php \Zend\Hydrator\Iterator\HydratingIteratorInterface::setPrototype()
This sets the prototype to hydrate.
This prototype can be the name of the class or the object itself; iteration will clone the object.
Parameters
string|object $prototype:
1 method overrides HydratingIteratorInterface::setPrototype()
- HydratingIteratorIterator::setPrototype in vendor/
zendframework/ zend-hydrator/ src/ Iterator/ HydratingIteratorIterator.php - @inheritdoc
File
- vendor/
zendframework/ zend-hydrator/ src/ Iterator/ HydratingIteratorInterface.php, line 25
Class
Namespace
Zend\Hydrator\IteratorCode
public function setPrototype($prototype);