/var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/cakephp/src/Collection/Iterator
NameSizeModeActions
BufferedIterator.php47700644editdlrm
ExtractIterator.php29520644editdlrm
FilterIterator.php27390644editdlrm
InsertIterator.php38110644editdlrm
MapReduce.php57540644editdlrm
NestIterator.php22550644editdlrm
NoChildrenIterator.php13680644editdlrm
ReplaceIterator.php28780644editdlrm
SortIterator.php31200644editdlrm
StoppableIterator.php33170644editdlrm
TreeIterator.php34880644editdlrm
TreePrinter.php35180644editdlrm
UnfoldIterator.php26300644editdlrm
ZipIterator.php35840644editdlrm
Edit: /var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/cakephp/src/Collection/Iterator/TreePrinter.php (3518B)
_value = $this->_propertyExtractor($valuePath); $this->_key = $this->_propertyExtractor($keyPath); $this->_spacer = $spacer; } /** * Returns the current iteration key * * @return mixed */ public function key() { $extractor = $this->_key; return $extractor($this->_fetchCurrent(), parent::key(), $this); } /** * Returns the current iteration value * * @return string */ public function current(): string { $extractor = $this->_value; $current = $this->_fetchCurrent(); $spacer = str_repeat($this->_spacer, $this->getDepth()); return $spacer . $extractor($current, parent::key(), $this); } /** * Advances the cursor one position * * @return void */ public function next(): void { parent::next(); $this->_current = null; } /** * Returns the current iteration element and caches its value * * @return mixed */ protected function _fetchCurrent() { if ($this->_current !== null) { return $this->_current; } return $this->_current = parent::current(); } }