name = $name; $this->references = $references; } /** * @inheritDoc */ public function getType(): string { return $this->type; } /** * @inheritDoc */ public function getName(): string { if (empty($this->name)) { return 'index_'.implode('_', array_map('strtolower', $this->references)); } return $this->name; } /** * @inheritDoc */ public function getReferences(): array { return $this->references; } /** * @inheritDoc */ public function isUnique(): bool { return false; } }