Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ArgumentResolverInterface.php

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

... See full list

File

vendor/symfony/http-kernel/Controller/ArgumentResolverInterface.php, line 22

Namespace

Symfony\Component\HttpKernel\Controller
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal