public function update($title, $text, $isHidden, $template) { $this->status = ContentBlockStatus::archived(); return self::create($this->id, $this->userId, $this->extraId, $this->locale, $title, $text, $isHidden, $template); }