You are here

public function ReplicationServiceProvider::register in Replication 8.2

Registers services to the container.

Parameters

ContainerBuilder $container: The ContainerBuilder to register services to.

Overrides ServiceProviderInterface::register

File

src/ReplicationServiceProvider.php, line 16

Class

ReplicationServiceProvider
Replication container service provider.

Namespace

Drupal\replication

Code

public function register(ContainerBuilder $container) {
  $container
    ->addCompilerPass(new RegisterSerializerCompilerPass());
}