ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Entry.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23class Entry implements EntryInterface
24{
25 protected int $id;
26 protected string $title;
27 protected string $description;
28 protected bool $is_default;
29 protected bool $is_outdated;
30 protected int $position;
32
33 public function __construct(
34 int $id,
35 string $title,
36 string $description,
37 bool $is_default,
38 bool $is_outdated,
39 int $position,
41 ) {
42 $this->id = $id;
43 $this->title = $title;
45 $this->is_default = $is_default;
46 $this->is_outdated = $is_outdated;
47 $this->position = $position;
48 $this->data = $data;
49 }
50
51 public function id(): int
52 {
53 return $this->id;
54 }
55
56 public function title(): string
57 {
58 return $this->title;
59 }
60
61 public function description(): string
62 {
63 return $this->description;
64 }
65
66 public function isDefault(): bool
67 {
68 return $this->is_default;
69 }
70
71 public function isOutdated(): bool
72 {
73 return $this->is_outdated;
74 }
75
76 public function position(): int
77 {
78 return $this->position;
79 }
80
82 {
83 return $this->data;
84 }
85}
__construct(int $id, string $title, string $description, bool $is_default, bool $is_outdated, int $position, CopyrightDataInterface $data)
Definition: Entry.php:33
CopyrightDataInterface $data
Definition: Entry.php:31