src/FileRepository.php
public function getCached()
    {
        return $this->app['cache']->remember($this->config('cache.key'), $this->config('cache.lifetime'), function () {
            return $this->toCollection()->toArray();
        });
    }
public function getCached()
    {
        return $this->app['cache']->remember($this->config('cache.key'), $this->config('cache.lifetime'), function () {
            return $this->toCollection()->toArray();
        });
    }
public function getCached ( ) { return $ this -> app [ 'cache' ] -> remember ( $ this -> config ( 'cache.key' ) , $ this -> config ( 'cache.lifetime' ) , function ( ) { return $ this -> toCollection ( ) -> toArray ( ) ; } ) ; }
Get cached modules.

@return array
Get cached modules .