original_string: 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;
  	}
code: 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;
  	}
code_tokens: 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 ; }
docstring: 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
docstring_tokens: Return required dir s files info . If onlyMimes is set - return only dirs and files of required mimes