/var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/cakephp/src/Collection
NameSizeModeActions
Iterator/-0755rm
Collection.php26090644editdlrm
CollectionInterface.php423730644editdlrm
CollectionTrait.php278990644editdlrm
composer.json9560644editdlrm
ExtractTrait.php44540644editdlrm
functions.php10790644editdlrm
LICENSE.txt12040644editdlrm
README.md11770644editdlrm
Edit: /var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/cakephp/src/Collection/Collection.php (2609B)
buffered()); } /** * Unserializes the passed string and rebuilds the Collection instance * * @param string $collection The serialized collection * @return void */ public function unserialize($collection): void { $this->__construct(unserialize($collection)); } /** * {@inheritDoc} * * @return int */ public function count(): int { $traversable = $this->optimizeUnwrap(); if (is_array($traversable)) { return count($traversable); } return iterator_count($traversable); } /** * {@inheritDoc} * * @return int */ public function countKeys(): int { return count($this->toArray()); } /** * Returns an array that can be used to describe the internal state of this * object. * * @return array */ public function __debugInfo(): array { return [ 'count' => $this->count(), ]; } }