src/Directory.php
public function listFiles($depth = 0, $filter = null, $asHandlers = false)
	{
		return $this->listContents($depth, $filter, 'file', $asHandlers);
	}
public function listFiles($depth = 0, $filter = null, $asHandlers = false)
	{
		return $this->listContents($depth, $filter, 'file', $asHandlers);
	}
public function listFiles ( $ depth = 0 , $ filter = null , $ asHandlers = false ) { return $ this -> listContents ( $ depth , $ filter , 'file' , $ asHandlers ) ; }
Lists all files in a directory

@param integer $depth
@param mixed   $filter
@param boolean $asHandlers

@return array
Lists all files in a directory