protected function getInfo($file)
    {
        $attributes = Json::make($path = $file->getRealPath())->toArray();

        $attributes['path'] = dirname($path);

        return $attributes;
    }
protected function getInfo($file)
    {
        $attributes = Json::make($path = $file->getRealPath())->toArray();

        $attributes['path'] = dirname($path);

        return $attributes;
    }
protected function getInfo ( $ file ) { $ attributes = Json :: make ( $ path = $ file -> getRealPath ( ) ) -> toArray ( ) ; $ attributes [ 'path' ] = dirname ( $ path ) ; return $ attributes ; }
Get theme info from json file.

@param \SplFileInfo $file

@return array
Get theme info from json file .