/** * @param $module * @param $action * @param array $parameter * @return $this */ public function setTarget($module, $action, array $parameter = []) { $this->target = new FrameworkTarget(); $this->target->setModule($module); $this->target->setAction($action); $this->target->setParameter($parameter); return $this; }
public function targetLink(FrameworkTarget $target) { return $this->appLink($target->getModule(), $target->getAction(), $target->getParameter()); }