function TestServiceComplexMethod::complexMethod

Same name in this branch
  1. 11.x core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Core\ProxyBuilder\TestServiceComplexMethod::complexMethod()
Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Core\ProxyBuilder\TestServiceComplexMethod::complexMethod()
  2. 9 core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Component\ProxyBuilder\TestServiceComplexMethod::complexMethod()
  3. 8.9.x core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Core\ProxyBuilder\TestServiceComplexMethod::complexMethod()
  4. 8.9.x core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Component\ProxyBuilder\TestServiceComplexMethod::complexMethod()
  5. 10 core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Core\ProxyBuilder\TestServiceComplexMethod::complexMethod()
  6. 10 core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Component\ProxyBuilder\TestServiceComplexMethod::complexMethod()

File

core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php, line 435

Class

TestServiceComplexMethod

Namespace

Drupal\Tests\Component\ProxyBuilder

Code

public function complexMethod(string $parameter, callable $function, ?TestServiceNoMethod $test_service = NULL, array &$elements = []) : array {
    return [];
}

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