Helper/Addon/MvcUrl.php
public function setMvcUrl($controller = null, $action = null, array $params = [])
    {
        $this->mvcUrl = [
            'controller' => trim($controller),
            'action'     => trim($action),
            'params'     => $params
        ];
        return $this;
    }
public function setMvcUrl($controller = null, $action = null, array $params = [])
    {
        $this->mvcUrl = [
            'controller' => trim($controller),
            'action'     => trim($action),
            'params'     => $params
        ];
        return $this;
    }
public function setMvcUrl ( $ controller = null , $ action = null , array $ params = [ ] ) { $ this -> mvcUrl = [ 'controller' => trim ( $ controller ) , 'action' => trim ( $ action ) , 'params' => $ params ] ; return $ this ; }
Define the MVC parameters of the url
@param string $controller
@param string $action
@param array $params
@return $this
Define the MVC parameters of the url