code: public function unserialize($serialized): void
      {
          [$this->showUnpublished, $parentStr] = unserialize($serialized, ['allowed_classes' => true]);
  
          parent::unserialize($parentStr);
      }
docs: {@inheritdoc}