public function getData()
    {
        if ($this->cacheProvider !== null &&
            $this->cacheProvider->contains('routerCache')) {
            return $this->cacheProvider->fetch('routerCache');
        }

        return parent::getData();
    }
public function getData()
    {
        if ($this->cacheProvider !== null &&
            $this->cacheProvider->contains('routerCache')) {
            return $this->cacheProvider->fetch('routerCache');
        }

        return parent::getData();
    }
public function getData ( ) { if ( $ this -> cacheProvider !== null && $ this -> cacheProvider -> contains ( 'routerCache' ) ) { return $ this -> cacheProvider -> fetch ( 'routerCache' ) ; } return parent :: getData ( ) ; }
Returns the collected route data, as provided by the data generator.

@return array
Returns the collected route data as provided by the data generator .