public function ServiceProviderInterface::register
public ServiceProviderInterface::register(ContainerBuilder $container)
Registers services to the container.
Parameters
ContainerBuilder $container: The ContainerBuilder to register services to.
File
- core/lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.php, line 18
Class
- ServiceProviderInterface
- Interface that all service providers must implement.
Namespace
Drupal\Core\DependencyInjectionCode
public function register(ContainerBuilder $container);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!DependencyInjection!ServiceProviderInterface.php/function/ServiceProviderInterface::register/8.1.x