interface ArgumentsResolverInterface in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/Utility/ArgumentsResolverInterface.php \Drupal\Component\Utility\ArgumentsResolverInterface
Resolves the arguments to pass to a callable.
Hierarchy
- interface \Drupal\Component\Utility\ArgumentsResolverInterface
Expanded class hierarchy of ArgumentsResolverInterface
All classes that implement ArgumentsResolverInterface
File
- lib/
Drupal/ Component/ Utility/ ArgumentsResolverInterface.php, line 13 - Contains \Drupal\Component\Utility\ArgumentsResolverInterface.
Namespace
Drupal\Component\UtilityView source
interface ArgumentsResolverInterface {
/**
* Gets arguments suitable for passing to the given callable.
*
* @return array
* An array of arguments to pass to the callable.
*
* @throws \RuntimeException
* When a value for an argument given cannot be resolved.
*/
public function getArguments(callable $callable);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ArgumentsResolverInterface:: |
public | function | Gets arguments suitable for passing to the given callable. | 1 |