function 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.