id; } /** * Get the comments * * @return int[]|Comment[] * * @since 1.0.0 */ public function getComments() : array { return $this->comments; } /** * Add a comment * * @param mixed $comment Comment * * @return void * * @since 1.0.0 */ public function addComment($comment) : void { $this->comments[] = $comment; } /** * Is active * * @return bool * * @since 1.0.0 */ public function isActive() : bool { return $this->isActive; } /** * Set list activity * * @param bool $active Is active * * @return void * * @since 1.0.0 */ public function setActive(bool $active) : void { $this->isActive = $active; } }