/** * @inheritdoc */ public function __sleep() { $this->unsetData('entity_type'); return array_diff(parent::__sleep(), ['indexerRegistry', '_website']); }
/** * @inheritdoc */ public function __sleep() { $this->unsetData('entity_type'); return array_diff(parent::__sleep(), ['indexerRegistry', '_website']); }