ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
NullWrapper.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
25 class NullWrapper implements WrapperInterface
26 {
27  public function requestHasArgument(Argument $argument): bool
28  {
29  return false;
30  }
31 
32  public function retrieveArgumentFromRequest(Argument $argument): string
33  {
34  return '';
35  }
36 
37  public function sendResponseAndClose(
38  int $status_code,
39  string $message = '',
40  \DOMDocument $body = null
41  ): void {
42  }
43 }
sendResponseAndClose(int $status_code, string $message='', \DOMDocument $body=null)
Definition: NullWrapper.php:37