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

Breadcrumb

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

function ArgumentsResolver::__construct

Constructs a new ArgumentsResolver.

Parameters

array $scalars: An associative array of parameter names to scalar candidate values.

object[] $objects: An associative array of parameter names to object candidate values.

object[] $wildcards: An array object candidates tried on every parameter regardless of its name.

File

core/lib/Drupal/Component/Utility/ArgumentsResolver.php, line 42

Class

ArgumentsResolver
Resolves the arguments to pass to a callable.

Namespace

Drupal\Component\Utility

Code

public function __construct(array $scalars, array $objects, array $wildcards) {
    $this->scalars = $scalars;
    $this->objects = $objects;
    $this->wildcards = $wildcards;
}

API Navigation

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