ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
PageMetrics.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
26{
27 public function __construct(
28 private readonly int $contentPageId,
29 private readonly int $pageId,
30 private readonly string $language,
31 private readonly PageReadingTime $readingTime
32 ) {
33 }
34
35 public function contentPageId(): int
36 {
37 return $this->contentPageId;
38 }
39
40 public function pageId(): int
41 {
42 return $this->pageId;
43 }
44
45 public function language(): string
46 {
47 return $this->language;
48 }
49
50 public function readingTime(): PageReadingTime
51 {
52 return $this->readingTime;
53 }
54}
__construct(private readonly int $contentPageId, private readonly int $pageId, private readonly string $language, private readonly PageReadingTime $readingTime)
Definition: PageMetrics.php:27