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

Breadcrumb

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

function ArgumentResolverInterface::getArguments

Returns the arguments to pass to the controller.

Throws

\RuntimeException When no value could be provided for a required argument

2 methods override ArgumentResolverInterface::getArguments()
ArgumentResolver::getArguments in vendor/symfony/http-kernel/Controller/ArgumentResolver.php
Returns the arguments to pass to the controller.
TraceableArgumentResolver::getArguments in vendor/symfony/http-kernel/Controller/TraceableArgumentResolver.php
Returns the arguments to pass to the controller.

File

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

Class

ArgumentResolverInterface
An ArgumentResolverInterface instance knows how to determine the arguments for a specific action.

Namespace

Symfony\Component\HttpKernel\Controller

Code

public function getArguments(Request $request, callable $controller, ?\ReflectionFunctionAbstract $reflector = null) : array;

API Navigation

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