function add(iRoute $router, $allowOverride = true, $priority = null)
    {
        $router = $this->_prepareRouter($router);


        # Add Router in Stack:
        #
        $this->_priorityQueue()->insert($router, ['order' => $priority]);
        $this->routesAdd[$router->getName()] = $router;


        # Allow Override
        #
        $allowOverride = (bool) $allowOverride;
        if (false === $allowOverride)
            $this->_routes_strict_override[$router->getName()] = true;

        return $this;
    }
function add(iRoute $router, $allowOverride = true, $priority = null)
    {
        $router = $this->_prepareRouter($router);


        # Add Router in Stack:
        #
        $this->_priorityQueue()->insert($router, ['order' => $priority]);
        $this->routesAdd[$router->getName()] = $router;


        # Allow Override
        #
        $allowOverride = (bool) $allowOverride;
        if (false === $allowOverride)
            $this->_routes_strict_override[$router->getName()] = true;

        return $this;
    }
function add ( iRoute $ router , $ allowOverride = true , $ priority = null ) { $ router = $ this -> _prepareRouter ( $ router ) ; # Add Router in Stack: # $ this -> _priorityQueue ( ) -> insert ( $ router , [ 'order' => $ priority ] ) ; $ this -> routesAdd [ $ router -> getName ( ) ] = $ router ; # Allow Override # $ allowOverride = ( bool ) $ allowOverride ; if ( false === $ allowOverride ) $ this -> _routes_strict_override [ $ router -> getName ( ) ] = true ; return $ this ; }
Add Parallel Router

- set self as parent of linked router
- prepend current name to linked router name

@param iRoute $router
@param bool   $allowOverride
@param int    $priority

@return $this
Add Parallel Router