| 1 | <?php |
||
| 8 | trait CacheUtilsTrait |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Glob that is safe with streams (vfs for example). |
||
| 12 | * |
||
| 13 | * @param string $directory the directory |
||
| 14 | * @param string $filePattern the file pattern |
||
| 15 | * |
||
| 16 | * @return array containing match files |
||
| 17 | */ |
||
| 18 | 1 | public function streamSafeGlob($directory, $filePattern) : array |
|
| 35 | } |
||
| 36 |