ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
RequestInterface.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 use ILIAS\Data\URI;
26 
28 {
29  public function baseURL(): URI;
30 
31  public function verb(): Verb;
32 
33  public function withArgument(Argument $key, string $value): RequestInterface;
34 
35  public function argumentValue(Argument $argument): string;
36 
37  public function hasArgument(Argument $argument): bool;
38 
47  public function hasCorrectArguments(
48  array $required,
49  array $optional,
50  array $exclusive
51  ): bool;
52 
56  public function argumentKeys(): \Generator;
57 }
hasCorrectArguments(array $required, array $optional, array $exclusive)
Returns true if this either has all required arguments, any subset of the optional arguments...