src/Orchid/Log/Utilities/Filesystem.php
private function getFiles($pattern)
    {
        $files = $this->filesystem->glob(
            $this->storagePath.DIRECTORY_SEPARATOR.$pattern, GLOB_BRACE
        );

        return array_filter(array_map('realpath', $files));
    }
private function getFiles($pattern)
    {
        $files = $this->filesystem->glob(
            $this->storagePath.DIRECTORY_SEPARATOR.$pattern, GLOB_BRACE
        );

        return array_filter(array_map('realpath', $files));
    }
Get all files.

@param string $pattern

@return array