ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NullEntry.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\MetaData\Copyright;
22 
23 class NullEntry implements EntryInterface
24 {
25  public function id(): int
26  {
27  return 0;
28  }
29 
30  public function title(): string
31  {
32  return '';
33  }
34 
35  public function description(): string
36  {
37  return '';
38  }
39 
40  public function isDefault(): bool
41  {
42  return false;
43  }
44 
45  public function isOutdated(): bool
46  {
47  return false;
48  }
49 
50  public function position(): int
51  {
52  return 0;
53  }
54 
56  {
57  return new NullCopyrightData();
58  }
59 }