src/Repository.php
protected function formatCached($cached)
    {
        $components = [];

        foreach ($cached as $name => $component) {
            $path = $this->config('paths.components') . '/' . $name;

            $components[$name] = new Component($this->app, $name, $path);
        }

        return $components;
    }
protected function formatCached($cached)
    {
        $components = [];

        foreach ($cached as $name => $component) {
            $path = $this->config('paths.components') . '/' . $name;

            $components[$name] = new Component($this->app, $name, $path);
        }

        return $components;
    }
protected function formatCached ( $ cached ) { $ components = [ ] ; foreach ( $ cached as $ name => $ component ) { $ path = $ this -> config ( 'paths.components' ) . '/' . $ name ; $ components [ $ name ] = new Component ( $ this -> app , $ name , $ path ) ; } return $ components ; }
Format the cached data as array of components.

@param array $cached

@return array
Format the cached data as array of components .