public function ArgumentsResolverInterface::getArguments

public ArgumentsResolverInterface::getArguments(callable $callable)

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.

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);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Utility!ArgumentsResolverInterface.php/function/ArgumentsResolverInterface::getArguments/8.1.x