public function settings()
    {
        if (is_null($this->settings)) {
            $this->settings['version_php'] = $this->getPhpVersion();
            $this->settings['version_laravel'] = app()->version();
            $this->settings['cache_config'] = app()->configurationIsCached();
            $this->settings['cache_route'] = app()->routesAreCached();
            $this->settings['timezone'] = config('app.timezone');
            $this->settings['debug'] = config('app.debug');
            $this->settings['eyewitness_debug'] = config('eyewitness.debug');
            $this->settings['env'] = config('app.env');
            $this->settings['name'] = config('app.name', 'Laravel App');
            $this->settings['maintenance_mode'] = app()->isDownForMaintenance();
        }

        return $this->settings;
    }
public function settings()
    {
        if (is_null($this->settings)) {
            $this->settings['version_php'] = $this->getPhpVersion();
            $this->settings['version_laravel'] = app()->version();
            $this->settings['cache_config'] = app()->configurationIsCached();
            $this->settings['cache_route'] = app()->routesAreCached();
            $this->settings['timezone'] = config('app.timezone');
            $this->settings['debug'] = config('app.debug');
            $this->settings['eyewitness_debug'] = config('eyewitness.debug');
            $this->settings['env'] = config('app.env');
            $this->settings['name'] = config('app.name', 'Laravel App');
            $this->settings['maintenance_mode'] = app()->isDownForMaintenance();
        }

        return $this->settings;
    }
public function settings ( ) { if ( is_null ( $ this -> settings ) ) { $ this -> settings [ 'version_php' ] = $ this -> getPhpVersion ( ) ; $ this -> settings [ 'version_laravel' ] = app ( ) -> version ( ) ; $ this -> settings [ 'cache_config' ] = app ( ) -> configurationIsCached ( ) ; $ this -> settings [ 'cache_route' ] = app ( ) -> routesAreCached ( ) ; $ this -> settings [ 'timezone' ] = config ( 'app.timezone' ) ; $ this -> settings [ 'debug' ] = config ( 'app.debug' ) ; $ this -> settings [ 'eyewitness_debug' ] = config ( 'eyewitness.debug' ) ; $ this -> settings [ 'env' ] = config ( 'app.env' ) ; $ this -> settings [ 'name' ] = config ( 'app.name' , 'Laravel App' ) ; $ this -> settings [ 'maintenance_mode' ] = app ( ) -> isDownForMaintenance ( ) ; } return $ this -> settings ; }
Get all the application settings.

@return array
Get all the application settings .