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\replicationCode
public function register(ContainerBuilder $container) {
$container
->addCompilerPass(new RegisterSerializerCompilerPass());
}