ServiceProviderInterface.php in Zircon Profile 8.0
Same filename and directory in other branches
Namespace
Drupal\Core\DependencyInjectionFile
core/lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\Core\DependencyInjection\ServiceProviderInterface.
*/
namespace Drupal\Core\DependencyInjection;
/**
* Interface that all service providers must implement.
*
* @ingroup container
*/
interface ServiceProviderInterface {
/**
* Registers services to the container.
*
* @param ContainerBuilder $container
* The ContainerBuilder to register services to.
*/
public function register(ContainerBuilder $container);
}
Interfaces
Name | Description |
---|---|
ServiceProviderInterface | Interface that all service providers must implement. |