hedronium\Jables\Prettifyer::buildFileList PHP Method

buildFileList() protected method

protected buildFileList ( )
    protected function buildFileList()
    {
        $files = $this->fs->files($this->app->databasePath() . '/' . config('jables.folder'));
        foreach ($files as $file) {
            if ($this->fs->extension($file) == 'json') {
                $this->files[] = $file;
            }
        }
    }