@@ -21,9 +21,6 @@ class Entry {
21
21
22
22
23
23
protected $ title = '' ;
24
- public function getTitle (): string {
25
- return $ this ->title ;
26
- }
27
24
28
25
public function setTitle (string $ title ): self {
29
26
$ this ->title = $ title ;
@@ -49,9 +46,7 @@ public function addCategory(string $cat): self {
49
46
}
50
47
return $ this ;
51
48
}
52
- public function getCategories (): array {
53
- return $ this ->categories ;
54
- }
49
+
55
50
public function isConference (): bool {
56
51
return (bool )array_intersect ($ this ->categories , ['cfp ' , 'conferences ' ]);
57
52
}
@@ -61,9 +56,6 @@ public function setConfTime(int $time): self {
61
56
$ this ->conf_time = $ time ;
62
57
return $ this ;
63
58
}
64
- public function getConfTime (): int {
65
- return $ this ->conf_time ;
66
- }
67
59
68
60
protected $ image = [];
69
61
public function setImage (string $ path , string $ title , ?string $ link ): self {
@@ -80,9 +72,6 @@ public function setImage(string $path, string $title, ?string $link): self {
80
72
];
81
73
return $ this ;
82
74
}
83
- public function getImage (): array {
84
- return $ this ->image ;
85
- }
86
75
87
76
protected $ content = '' ;
88
77
public function setContent (string $ content ): self {
@@ -92,9 +81,6 @@ public function setContent(string $content): self {
92
81
$ this ->content = $ content ;
93
82
return $ this ;
94
83
}
95
- public function getContent (): string {
96
- return $ this ->content ;
97
- }
98
84
99
85
protected $ id = '' ;
100
86
private static function selectNextId (): string {
0 commit comments