Пример #1
0
 /**
  * @param $urlPath
  * @param $presenter
  * @param $action
  * @param null $internal_id
  * @return Url
  */
 public static function create($urlPath, $presenter, $action, $internal_id = null)
 {
     $url = new Url();
     $url->setUrlPath($urlPath);
     $url->setDestination($presenter, $action);
     $url->setInternalId($internal_id);
     return $url;
 }