public Container::set($id, $service, $scope = ContainerInterface::SCOPE_CONTAINER)
Overrides Container::set
File
core/lib/Drupal/Core/DependencyInjection/Container.php, line 16
Class
Container Extends the Drupal container to set the service ID on the created object.
Namespace
Drupal\Core\DependencyInjection
Code
public function set($id, $service, $scope = ContainerInterface::SCOPE_CONTAINER) {
parent::set($id, $service, $scope);
// Ensure that the _serviceId property is set on syn