1 | <?php |
||
13 | class Finder implements FinderInterface |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * Find method |
||
18 | * |
||
19 | * @param string $pattern |
||
20 | * @param \SplFileInfo $fileInfo |
||
21 | * |
||
22 | * @return bool|\SplFileInfo |
||
23 | */ |
||
24 | 5 | public function find($pattern, \SplFileInfo $fileInfo) |
|
42 | |||
43 | /** |
||
44 | * Create Regular Expression |
||
45 | * |
||
46 | * @param string $pattern |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | 4 | private function createRegExp($pattern) |
|
55 | |||
56 | } |
||
57 |