function ArgumentsResolverInterface::getArguments

Same name in other branches
  1. 9 core/lib/Drupal/Component/Utility/ArgumentsResolverInterface.php \Drupal\Component\Utility\ArgumentsResolverInterface::getArguments()
  2. 8.9.x core/lib/Drupal/Component/Utility/ArgumentsResolverInterface.php \Drupal\Component\Utility\ArgumentsResolverInterface::getArguments()
  3. 11.x core/lib/Drupal/Component/Utility/ArgumentsResolverInterface.php \Drupal\Component\Utility\ArgumentsResolverInterface::getArguments()

Gets arguments suitable for passing to the given callable.

Return value

array An array of arguments to pass to the callable.

Throws

\RuntimeException When a value for an argument given cannot be resolved.

1 method overrides ArgumentsResolverInterface::getArguments()
ArgumentsResolver::getArguments in core/lib/Drupal/Component/Utility/ArgumentsResolver.php
Gets arguments suitable for passing to the given callable.

File

core/lib/Drupal/Component/Utility/ArgumentsResolverInterface.php, line 19

Class

ArgumentsResolverInterface
Resolves the arguments to pass to a callable.

Namespace

Drupal\Component\Utility

Code

public function getArguments(callable $callable);

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