check(); } /** * @return array */ public function getAttachmentData(): array { return [ 'title' => $this->string('title'), 'description' => $this->string('description'), 'notes' => $this->string('notes'), ]; } /** * @return array */ public function rules() { return [ 'title' => 'between:1,255', 'description' => 'between:1,65536', 'notes' => 'between:1,65536', ]; } }