class ValidConsumer

Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php \Drupal\Tests\Core\DependencyInjection\Compiler\ValidConsumer
  2. 10 core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php \Drupal\Tests\Core\DependencyInjection\Compiler\ValidConsumer
  3. 11.x core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php \Drupal\Tests\Core\DependencyInjection\Compiler\ValidConsumer

Hierarchy

  • class \Drupal\Tests\Core\DependencyInjection\Compiler\ValidConsumer

Expanded class hierarchy of ValidConsumer

File

core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php, line 438

Namespace

Drupal\Tests\Core\DependencyInjection\Compiler
View source
class ValidConsumer {
    public function addHandler(HandlerInterface $instance, $priority = 0) {
    }
    public function addNoPriority(HandlerInterface $instance) {
    }
    public function addWithId(HandlerInterface $instance, $id, $priority = 0) {
    }

}

Members

Title Sort descending Modifiers Object type Summary
ValidConsumer::addHandler public function
ValidConsumer::addNoPriority public function
ValidConsumer::addWithId public function

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