/** * @internal * @throws \LTDBeget\sphinx\configurator\exceptions\ConfigurationException */ private function serializeCommon() { if ($this->object->isHasCommon()) { $this->string .= (string) $this->object->getCommon(); } }
/** * @internal * @throws \LTDBeget\sphinx\configurator\exceptions\ConfigurationException * @throws \InvalidArgumentException * @throws \LogicException */ private function serializeCommon() { if ($this->objectConfiguration->isHasCommon()) { $this->arrayConfiguration[] = $this->objectConfiguration->getCommon()->toArray(); } }