Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
core/lib/Drupal/Component/Utility
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\Component\Utility\ArgumentsResolverInterface.
|
||||
*/
|
||||
|
||||
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);
|
||||
|
||||
}
|
Reference in a new issue