function StaticDiscoveryTestDecoratedClass::complexArguments

Same name in other branches
  1. 11.x core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php \Drupal\Tests\Component\Plugin\Discovery\StaticDiscoveryTestDecoratedClass::complexArguments()

File

core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php, line 239

Class

StaticDiscoveryTestDecoratedClass
A class extending StaticDiscovery for testing purposes.

Namespace

Drupal\Tests\Component\Plugin\Discovery

Code

public function complexArguments(mixed ...$args) : array {
    return $args;
}

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