ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
PageMetrics.php
Go to the documentation of this file.
1 <?php declare(strict_types=1);
2 /* Copyright (c) 1998-2020 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
5 
7 
12 final class PageMetrics
13 {
15  private $contentPageId;
17  private $pageId;
19  private $language;
21  private $readingTime;
22 
31  {
33  $this->pageId = $pageId;
34  $this->language = $language;
35  $this->readingTime = $readingTime;
36  }
37 
41  public function contentPageId() : int
42  {
43  return $this->contentPageId;
44  }
45 
49  public function pageId() : int
50  {
51  return $this->pageId;
52  }
53 
57  public function language() : string
58  {
59  return $this->language;
60  }
61 
65  public function readingTime() : PageReadingTime
66  {
67  return $this->readingTime;
68  }
69 }
__construct(int $contentPageId, int $pageId, string $language, PageReadingTime $readingTime)
PageMetrics constructor.
Definition: PageMetrics.php:30