ServiceModifierInterface.php in Zircon Profile 8
Same filename and directory in other branches
Namespace
Drupal\Core\DependencyInjectionFile
core/lib/Drupal/Core/DependencyInjection/ServiceModifierInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\Core\DependencyInjection\ServiceModifierInterface.
*/
namespace Drupal\Core\DependencyInjection;
/**
* Interface that service providers can implement to modify services.
*
* @ingroup container
*/
interface ServiceModifierInterface {
/**
* Modifies existing service definitions.
*
* @param ContainerBuilder $container
* The ContainerBuilder whose service definitions can be altered.
*/
public function alter(ContainerBuilder $container);
}
Interfaces
Name | Description |
---|---|
ServiceModifierInterface | Interface that service providers can implement to modify services. |