url; } /** * @param $url * @return $this */ public function setUrl($url) { $this->url = $url; return $this; } /** * @return bool|string|null */ public function getIcon() { $asset = BuildUrl::getAppAssetsURL(); return $asset.DIRECTORY_SEPARATOR.'icons'.DIRECTORY_SEPARATOR.$this->id.'.png'; } /** * @return bool */ public function isTargetBlank() { return $this->targetBlank; } /** * @param $targetBlank * @return $this */ public function setTargetBlank($targetBlank) { $this->targetBlank = $targetBlank; return $this; } }