return -1;
} public function build(ContainerBuilder
$container): void
{ parent::
build($container);
$container->
addCompilerPass(new ElasticsearchMigrationCompilerPass());
// Needs to run before the ProfilerPass
$container->
addCompilerPass(new ElasticsearchProfileCompilerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 5000
);
$this->
buildConfig($container);
} protected function createContainerExtension(): ?ExtensionInterface
{ return new ElasticsearchExtension();
} private function buildConfig(ContainerBuilder
$container): void
{