interface ArgumentResolverInterface
An ArgumentResolverInterface instance knows how to determine the arguments for a specific action.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface
Expanded class hierarchy of ArgumentResolverInterface
All classes that implement ArgumentResolverInterface
8 files declare their use of ArgumentResolverInterface
- EarlyRenderingControllerWrapperSubscriber.php in core/
lib/ Drupal/ Core/ EventSubscriber/ EarlyRenderingControllerWrapperSubscriber.php - FormController.php in core/
lib/ Drupal/ Core/ Controller/ FormController.php - HtmlEntityFormController.php in core/
lib/ Drupal/ Core/ Entity/ HtmlEntityFormController.php - HtmlFormController.php in core/
lib/ Drupal/ Core/ Controller/ HtmlFormController.php - HttpKernel.php in vendor/
symfony/ http-kernel/ HttpKernel.php
File
-
vendor/
symfony/ http-kernel/ Controller/ ArgumentResolverInterface.php, line 22
Namespace
Symfony\Component\HttpKernel\ControllerView source
interface ArgumentResolverInterface {
/**
* Returns the arguments to pass to the controller.
*
* @throws \RuntimeException When no value could be provided for a required argument
*/
public function getArguments(Request $request, callable $controller, ?\ReflectionFunctionAbstract $reflector = null) : array;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ArgumentResolverInterface::getArguments | public | function | Returns the arguments to pass to the controller. | 2 |