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

Breadcrumb

  1. Drupal Core 11.1.x

ArgumentsResolverInterface.php

Namespace

Drupal\Component\Utility

File

core/lib/Drupal/Component/Utility/ArgumentsResolverInterface.php

View source
<?php

namespace Drupal\Component\Utility;


/**
 * Resolves the arguments to pass to a callable.
 */
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);

}

Interfaces

Title Deprecated Summary
ArgumentsResolverInterface Resolves the arguments to pass to a callable.

API Navigation

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