title = $title; $this->data = $data; } /** * @return string */ public function getDataType(): string { return $this->dataType; } /** * @param string $dataType * @return Widget */ public function setDataType(string $dataType) { $this->dataType = $dataType; return $this; } /** * @return array */ public function getRouteOptions(): array { return $this->routeOptions; } /** * @param array $routeOptions * @return Widget */ public function setRouteOptions(array $routeOptions) { $this->routeOptions = $routeOptions; return $this; } /** * @return string|null */ public function getRoute(): ?string { return $this->route; } /** * @param string $route * @return Widget */ public function setRoute(string $route) { $this->route = $route; return $this; } /** * @return mixed */ public function getData() { return $this->data; } /** * @param mixed $data * @return Widget */ public function setData($data) { $this->data = $data; return $this; } /** * @return string|null */ public function getTitle(): ?string { return $this->title; } /** * @param string $title * @return Widget */ public function setTitle(string $title) { $this->title = $title; return $this; } /** * @return string */ public function getIcon(): string { return $this->icon; } /** * @param string $icon * @return Widget */ public function setIcon(string $icon) { $this->icon = $icon; return $this; } /** * @return string */ public function getColor(): string { return $this->color; } /** * @param string $color * @return Widget */ public function setColor(string $color) { $this->color = $color; return $this; } /** * @return string */ public function getType(): string { return $this->type; } /** * @param string $type * @return Widget */ public function setType(string $type) { $this->type = $type; return $this; } }