interface ArgumentsResolverInterface

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Utility/ArgumentsResolverInterface.php \Drupal\Component\Utility\ArgumentsResolverInterface
  2. 10 core/lib/Drupal/Component/Utility/ArgumentsResolverInterface.php \Drupal\Component\Utility\ArgumentsResolverInterface
  3. 11.x core/lib/Drupal/Component/Utility/ArgumentsResolverInterface.php \Drupal\Component\Utility\ArgumentsResolverInterface

Resolves the arguments to pass to a callable.

Hierarchy

Expanded class hierarchy of ArgumentsResolverInterface

All classes that implement ArgumentsResolverInterface

1 file declares its use of ArgumentsResolverInterface
AccessManager.php in core/lib/Drupal/Core/Access/AccessManager.php

File

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

Namespace

Drupal\Component\Utility
View source
interface ArgumentsResolverInterface {
    
    /**
     * Gets arguments suitable for passing to the given callable.
     *
     * @return array
     *   An array of arguments to pass to the callable.
     *
     * @throws \RuntimeException
     *   When a value for an argument given cannot be resolved.
     */
    public function getArguments(callable $callable);

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ArgumentsResolverInterface::getArguments public function Gets arguments suitable for passing to the given callable. 1

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.