protected function getScandir($path) {
		$files = array();
		
		!isset($this->dirsCache[$path]) && $this->cacheDir($path);

		foreach ($this->dirsCache[$path] as $p) {
			if (($stat = $this->stat($p)) && empty($stat['hidden'])) {
				$files[] = $stat;
			}
		}

		return $files;
	}
protected function getScandir($path) {
		$files = array();
		
		!isset($this->dirsCache[$path]) && $this->cacheDir($path);

		foreach ($this->dirsCache[$path] as $p) {
			if (($stat = $this->stat($p)) && empty($stat['hidden'])) {
				$files[] = $stat;
			}
		}

		return $files;
	}
protected function getScandir ( $ path ) { $ files = array ( ) ; ! isset ( $ this -> dirsCache [ $ path ] ) && $ this -> cacheDir ( $ path ) ; foreach ( $ this -> dirsCache [ $ path ] as $ p ) { if ( ( $ stat = $ this -> stat ( $ p ) ) && empty ( $ stat [ 'hidden' ] ) ) { $ files [ ] = $ stat ; } } return $ files ; }
Return required dir's files info.
If onlyMimes is set - return only dirs and files of required mimes

@param  string  $path  dir path
@return array
@author Dmitry (dio) Levashov
Return required dir s files info . If onlyMimes is set - return only dirs and files of required mimes