public function CerEndPointIterator::hasChildren in Corresponding Entity References 7.3
Implements RecursiveIterator::hasChildren().
File
- includes/
CerEndPointIterator.inc, line 71 - Contains CerEndPointIterator.
Class
- CerEndPointIterator
- @class The purpose of this iterator is to wrap around all the "endpoints" in a field chain. An endpoint is a CerFieldHandler for a field that hasn't got a child. This is necessary in order to support infinite levels of embedded entities…
Code
public function hasChildren() {
return $this->field
->child() instanceof CerEntityContainerInterface;
}