src/Router/RouteCollector.php
public function getData()
    {
        if (!$this->collected) {
            $this->collectRoutes();

            $this->collected = true;
        }

        return $this->dataGenerator->getData();
    }
public function getData()
    {
        if (!$this->collected) {
            $this->collectRoutes();

            $this->collected = true;
        }

        return $this->dataGenerator->getData();
    }
public function getData ( ) { if ( ! $ this -> collected ) { $ this -> collectRoutes ( ) ; $ this -> collected = true ; } return $ this -> dataGenerator -> getData ( ) ; }
Returns the collected route data

@return array
Returns the collected route data