ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
BadPayload.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 class BadPayload implements Payload
27 {
28  public function get(): array
29  {
30  return [];
31  }
32 
33  public function set(array $data): void
34  {
35  }
36 
37  public function until(): ?int
38  {
39  return 0;
40  }
41 
42  public function setUntil(?int $valid_until): void
43  {
44  // nothing to do
45  }
46 
47 }