filterFiles() public static method

Extracts files from an array of args
public static filterFiles ( array $args, boolean $allowWildcards = true ) : array
$args array
$allowWildcards boolean Whether wildcards are allowed
return array
コード例 #1
0
ファイル: UtilsTest.php プロジェクト: maximebf/consolekit
 public function testFilterFiles()
 {
     $this->assertEquals(array(__FILE__), Utils::filterFiles(array(__FILE__, 'not_existant_file')));
 }