ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
PageMetrics.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
30 {
31  public function __construct(
32  private readonly int $contentPageId,
33  private readonly int $pageId,
34  private readonly string $language,
35  private readonly PageReadingTime $readingTime
36  ) {
37  }
38 
39  public function contentPageId(): int
40  {
41  return $this->contentPageId;
42  }
43 
44  public function pageId(): int
45  {
46  return $this->pageId;
47  }
48 
49  public function language(): string
50  {
51  return $this->language;
52  }
53 
54  public function readingTime(): PageReadingTime
55  {
56  return $this->readingTime;
57  }
58 }
__construct(private readonly int $contentPageId, private readonly int $pageId, private readonly string $language, private readonly PageReadingTime $readingTime)
Definition: PageMetrics.php:31