ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
Factory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Crawler\Exception
;
22
23
class
Factory
24
{
29
public
function
assertion
():
CrawlerAssertion
30
{
31
return
new
CrawlerAssertion
();
32
}
33
40
public
function
exception
(
int
$type = -1,
string
$info
=
""
):
CrawlerException
41
{
42
return
new
CrawlerException
($type,
$info
);
43
}
44
}
ILIAS\UI\Implementation\Crawler\Exception\Factory\assertion
assertion()
Those assertions are used to wrap the throwing of exception to make to code more readable.
Definition:
Factory.php:29
ILIAS\UI\Implementation\Crawler\Exception\Factory
Definition:
Factory.php:23
ILIAS\UI\Implementation\Crawler\Exception
Definition:
CrawlerAssertion.php:21
ILIAS\UI\Implementation\Crawler\Exception\CrawlerAssertion
Tests properties and throws exceptions if not met.
Definition:
CrawlerAssertion.php:29
$info
$info
Definition:
entry_point.php:21
ILIAS\UI\Implementation\Crawler\Exception\Factory\exception
exception(int $type=-1, string $info="")
Crawler exceptions for each type of problem that can occur while parsing the entries.
Definition:
Factory.php:40
components
ILIAS
UI
src
Implementation
Crawler
Exception
Factory.php
Generated on Wed Sep 3 2025 23:02:06 for ILIAS by
1.8.13 (using
Doxyfile
)