interface MockConfiguratorInterface

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php \Drupal\Tests\Component\DependencyInjection\MockConfiguratorInterface
  2. 8.9.x core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php \Drupal\Tests\Component\DependencyInjection\MockConfiguratorInterface
  3. 11.x core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php \Drupal\Tests\Component\DependencyInjection\MockConfiguratorInterface

Helper interface to test Container::get() with configurator.

@group DependencyInjection

Hierarchy

Expanded class hierarchy of MockConfiguratorInterface

All classes that implement MockConfiguratorInterface

File

core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php, line 1085

Namespace

Drupal\Tests\Component\DependencyInjection
View source
interface MockConfiguratorInterface {
    
    /**
     * Configures a service.
     *
     * @param object $service
     *   The service to configure.
     */
    public function configureService($service);

}

Members

Title Sort descending Modifiers Object type Summary
MockConfiguratorInterface::configureService public function Configures a service.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.