*/ protected $hidden = ['value']; /** * @return array */ protected function casts(): array { return [ 'is_secret' => 'boolean', ]; } }