ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
KeyCollection.php
Go to the documentation of this file.
1
<?php
2
3
namespace
SAML2\Certificate
;
4
5
use
SAML2\Exception\InvalidArgumentException
;
6
use
SAML2\Utilities\ArrayCollection
;
7
11
class
KeyCollection
extends
ArrayCollection
12
{
18
public
function
add
(
$key
)
19
{
20
if
(!
$key
instanceof
Key
) {
21
throw
InvalidArgumentException::invalidType
(
22
'SAML2\Certificate\Key'
,
23
$key
24
);
25
}
26
27
parent::add
(
$key
);
28
}
29
}
InvalidArgumentException
SAML2\Exception\InvalidArgumentException\invalidType
static invalidType($expected, $parameter)
Definition:
InvalidArgumentException.php:13
SAML2\Certificate
SAML2\Certificate\Key
Simple DTO wrapper for (X509) keys.
Definition:
Key.php:12
add
add()
Definition:
add.php:2
SAML2\Utilities\ArrayCollection
Simple Array implementation of Collection.
Definition:
ArrayCollection.php:12
SAML2\Certificate\KeyCollection\add
add($key)
Add a key to the collection.
Definition:
KeyCollection.php:18
SAML2\Certificate\KeyCollection
Simple collection object for transporting keys.
Definition:
KeyCollection.php:11
$key
$key
Definition:
croninfo.php:18
ArrayCollection
libs
composer
vendor
simplesamlphp
saml2
src
SAML2
Certificate
KeyCollection.php
Generated on Sat Jan 18 2025 19:01:09 for ILIAS by
1.8.13 (using
Doxyfile
)