Upgraded drupal core with security updates
[yaffs-website] / web / core / lib / Drupal / Component / Utility / ArgumentsResolverInterface.php
1 <?php
2
3 namespace Drupal\Component\Utility;
4
5 /**
6  * Resolves the arguments to pass to a callable.
7  */
8 interface ArgumentsResolverInterface {
9
10   /**
11    * Gets arguments suitable for passing to the given callable.
12    *
13    * @return array
14    *   An array of arguments to pass to the callable.
15    *
16    * @throws \RuntimeException
17    *   When a value for an argument given cannot be resolved.
18    */
19   public function getArguments(callable $callable);
20
21 }