class ValidConsumerWithExtraArguments

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\ValidConsumerWithExtraArguments
  2. 10 core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php \Drupal\Tests\Core\DependencyInjection\Compiler\ValidConsumerWithExtraArguments
  3. 11.x core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php \Drupal\Tests\Core\DependencyInjection\Compiler\ValidConsumerWithExtraArguments

Hierarchy

Expanded class hierarchy of ValidConsumerWithExtraArguments

File

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

Namespace

Drupal\Tests\Core\DependencyInjection\Compiler
View source
class ValidConsumerWithExtraArguments {
    public function addHandler(HandlerInterface $instance, $priority = 0, $extra1 = '', $extra2 = '') {
    }
    public function addNoPriority(HandlerInterface $instance, $extra) {
    }
    public function addWithId(HandlerInterface $instance, $id, $priority = 0, $extra1 = '', $extra2 = NULL) {
    }
    public function addWithDifferentOrder(HandlerInterface $instance, $extra1, $priority = 0, $extra2 = 'default2', $extra3 = 'default3') {
    }

}

Members


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