You are here

public function ArgumentsResolverInterface::getArguments in Drupal 8

Same name and namespace in other branches
  1. 9 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);