protected function getTemplateData()
    {
        $namespace  = $this->getOptionOrConfig('namespace');
        $routes     = $this->routes->toJSON();
        $absolute   = $this->config->get('laroute.absolute', false);
        $rootUrl    = $this->config->get('app.url', '');
        $prefix		= $this->config->get('laroute.prefix', '');

        return compact('namespace', 'routes', 'absolute', 'rootUrl', 'prefix');
    }
protected function getTemplateData()
    {
        $namespace  = $this->getOptionOrConfig('namespace');
        $routes     = $this->routes->toJSON();
        $absolute   = $this->config->get('laroute.absolute', false);
        $rootUrl    = $this->config->get('app.url', '');
        $prefix		= $this->config->get('laroute.prefix', '');

        return compact('namespace', 'routes', 'absolute', 'rootUrl', 'prefix');
    }
protected function getTemplateData ( ) { $ namespace = $ this -> getOptionOrConfig ( 'namespace' ) ; $ routes = $ this -> routes -> toJSON ( ) ; $ absolute = $ this -> config -> get ( 'laroute.absolute' , false ) ; $ rootUrl = $ this -> config -> get ( 'app.url' , '' ) ; $ prefix = $ this -> config -> get ( 'laroute.prefix' , '' ) ; return compact ( 'namespace' , 'routes' , 'absolute' , 'rootUrl' , 'prefix' ) ; }
Get the data for the template.

@return array
Get the data for the template .