timesheets; } /** * @return Project */ public function getProject() { return $this->project; } /** * @param Project $project * @return Activity */ public function setProject($project) { $this->project = $project; return $this; } /** * Set name * * @param string $name * @return Activity */ public function setName($name) { $this->name = $name; return $this; } /** * Get name * * @return string */ public function getName() { return $this->name; } /** * Set comment * * @param string $comment * @return Activity */ public function setComment($comment) { $this->comment = $comment; return $this; } /** * Get comment * * @return string */ public function getComment() { return $this->comment; } /** * Set visible * * @param bool $visible * * @return Activity */ public function setVisible($visible) { $this->visible = $visible; return $this; } /** * Get visible * * @return bool */ public function getVisible() { return $this->visible; } /** * Get activity id * * @return int */ public function getId() { return $this->id; } /** * @return string */ public function __toString() { return $this->getName(); } }