type = $type; return $this; } /** * Get type * * @return string */ public function getType() { return $this->type; } /** * Set currentStates * * @param json $currentStates * * @return AbstractTask */ public function setCurrentStates($currentStates) { $this->currentStates = $currentStates; return $this; } /** * Get currentStates * * @return json */ public function getCurrentStates() { return $this->currentStates; } /** * Set title * * @param string $title * * @return AbstractTask */ public function setTitle($title) { $this->title = $title; return $this; } /** * Get title * * @return string */ public function getTitle() { return $this->title; } /** * Set description * * @param string $description * * @return AbstractTask */ public function setDescription($description) { $this->description = $description; return $this; } /** * Get description * * @return string */ public function getDescription() { return $this->description; } }