Esempio n. 1
0
 /**
  * Set url by path
  *
  * @param string $path
  * @param array $params
  * @return $this
  */
 public function setPath($path, array $params = [])
 {
     $this->url = $this->urlBuilder->getUrl($path, $this->redirect->updatePathParams($params));
     return $this;
 }