ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Destination.php
Go to the documentation of this file.
1
<?php
2
3
namespace
SAML2\Configuration
;
4
5
use
SAML2\Exception\InvalidArgumentException
;
6
10
class
Destination
11
{
15
private
$destination
;
16
20
public
function
__construct
(
$destination
)
21
{
22
if
(!is_string(
$destination
)) {
23
throw
InvalidArgumentException::invalidType
(
'string'
,
$destination
);
24
}
25
26
$this->destination =
$destination
;
27
}
28
34
public
function
equals
(
Destination
$otherDestination)
35
{
36
return
$this->destination === $otherDestination->destination;
37
}
38
39
public
function
__toString
()
40
{
41
return
$this->destination
;
42
}
43
}
InvalidArgumentException
SAML2\Configuration\Destination\equals
equals(Destination $otherDestination)
Definition:
Destination.php:34
SAML2\Exception\InvalidArgumentException\invalidType
static invalidType($expected, $parameter)
Definition:
InvalidArgumentException.php:13
SAML2\Configuration
Definition:
ArrayAdapter.php:3
SAML2\Configuration\Destination\$destination
$destination
Definition:
Destination.php:15
SAML2\Configuration\Destination\__toString
__toString()
Definition:
Destination.php:39
SAML2\Configuration\Destination
Value Object representing the current destination.
Definition:
Destination.php:10
SAML2\Configuration\Destination\__construct
__construct($destination)
Definition:
Destination.php:20
libs
composer
vendor
simplesamlphp
saml2
src
SAML2
Configuration
Destination.php
Generated on Sat Jan 18 2025 19:01:09 for ILIAS by
1.8.13 (using
Doxyfile
)