ArgumentsResolver

Resolves the arguments to pass to a callable.

Hierarchy

File

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

Namespace

Drupal\Component\Utility

Members

Name Modifiers Type Description
ArgumentsResolver::$objects protected property An associative array of parameter names to object candidate values.
ArgumentsResolver::$scalars protected property An associative array of parameter names to scalar candidate values.
ArgumentsResolver::$wildcards protected property An array object candidates tried on every parameter regardless of name.
ArgumentsResolver::getArgument protected function Gets the argument value for a parameter.
ArgumentsResolver::getArguments public function Gets arguments suitable for passing to the given callable. Overrides ArgumentsResolverInterface::getArguments
ArgumentsResolver::getReflector protected function Gets a reflector for the access check callable.
ArgumentsResolver::handleUnresolvedArgument protected function Handles unresolved arguments for getArgument().
ArgumentsResolver::__construct public function Constructs a new ArgumentsResolver.
doc_Drupal
2016-10-29 08:44:44
Comments
Leave a Comment

Please login to continue.