fileInfo = $fileInfo; } /** * (non-PHPDoc) * @see Countable::count() */ public function count() { return count($this->fileInfo); } /** * (non-PHPDoc) * @see IteratorAggregate::getIterator() */ public function getIterator() { return new ArrayIterator($this->fileInfo); } }