Total Complexity | 4 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | class Bookmark implements BookmarkInterface |
||
12 | { |
||
13 | use PersistableAwareTrait; |
||
14 | use TimestampableAwareTrait; |
||
15 | use OptionalUserAwareTrait; |
||
16 | use LessonAwareTrait; |
||
17 | |||
18 | private $title; |
||
19 | |||
20 | private $timeInSeconds = 0; |
||
21 | |||
22 | public function getTitle(): ?string |
||
23 | { |
||
24 | return $this->title; |
||
25 | } |
||
26 | |||
27 | public function setTitle(string $title): void |
||
28 | { |
||
29 | $this->title = $title; |
||
30 | } |
||
31 | |||
32 | public function getTimeInSeconds(): int |
||
35 | } |
||
36 | |||
37 | public function setTimeInSeconds(int $timeInSeconds): void |
||
40 | } |
||
41 | } |
||
42 |