메소드 | 설명 | |
---|---|---|
__construct ( array $patterns, string $root ) | Constructor. | |
isIgnored ( SplFileInfo $element ) : boolean | Tell whether to ignore the element. |
메소드 | 설명 | |
---|---|---|
_getRegExpableSearchString ( string $s ) : string | Converts $s into a string that can be used with preg_match. | |
_matches ( array $matches, string $path ) : null | Does the given path match one of the regular expression patterns? | |
_prepare ( string $patterns ) : null | Prepare the list of ignores from the input. |
public __construct ( array $patterns, string $root ) | ||
$patterns | array | The ignore patterns. |
$root | string | The root position for the files that should be checked. |