ILIAS  release_7 Revision v7.30-3-g800a261c036
CouldNotFindPageMetrics.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
14{
21 public static function by(int $contentPageId, int $pageId, string $language) : self
22 {
23 return new self(sprintf(
24 "Could not find content page page metrics for page with page id %s and language %s for parent with id %s",
25 $contentPageId,
26 $pageId,
27 $language
28 ));
29 }
30}
An exception for terminatinating execution or to throw for unit testing.
static by(int $contentPageId, int $pageId, string $language)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...