[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/finder/Iterator/ -> PathFilterIterator.php (summary)

(no description)

File Size: 56 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PathFilterIterator:: (2 methods):
  accept()
  toRegex()


Class: PathFilterIterator  - X-Ref

PathFilterIterator filters files by path patterns (e.g. some/special/dir).

accept()   X-Ref
Filters the iterator values.

return: bool true if the value should be kept, false otherwise

toRegex($str)   X-Ref
Converts strings to regexp.

PCRE patterns are left unchanged.

Default conversion:
'lorem/ipsum/dolor' ==>  'lorem\/ipsum\/dolor/'

Use only / as directory separator (on Windows also).

param: string $str Pattern: regexp or dirname
return: string regexp corresponding to a given string or regexp



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1