function ValidConsumerWithExtraArguments::addWithId

File

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

Class

ValidConsumerWithExtraArguments
Test class of a valid consumer with extra arguments.

Namespace

Drupal\Tests\Core\DependencyInjection\Compiler

Code

public function addWithId(HandlerInterface $instance, $id, $priority = 0, $extra1 = '', $extra2 = NULL) {
}

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