Bluz\Router\Router::process PHP Method

process() public method

Process routing
public process ( ) : Router
return Router
    public function process()
    {
        switch (true) {
            // try process default router
            case $this->processDefault():
                break;
                // try process custom routers
            // try process custom routers
            case $this->processCustom():
                break;
                // try process router
            // try process router
            case $this->processRoute():
                break;
        }
        $this->resetRequest();
        return $this;
    }