/**
  * @internal
  */
 private function serializeIndexer()
 {
     if ($this->object->isHasIndexer()) {
         $this->string .= (string) $this->object->getIndexer();
     }
 }
 /**
  * @internal
  * @throws \InvalidArgumentException
  * @throws \LogicException
  */
 private function serializeIndexer()
 {
     if ($this->objectConfiguration->isHasIndexer()) {
         $this->arrayConfiguration[] = $this->objectConfiguration->getIndexer()->toArray();
     }
 }