ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
SAML2\Certificate\FingerprintCollection Class Reference

Simple collection object for transporting keys. More...

+ Inheritance diagram for SAML2\Certificate\FingerprintCollection:
+ Collaboration diagram for SAML2\Certificate\FingerprintCollection:

Public Member Functions

 add ($fingerprint)
 Add a key to the collection. More...
 
- Public Member Functions inherited from SAML2\Utilities\ArrayCollection
 __construct (array $elements=array())
 
 add ($element)
 Add an element to the collection. More...
 
 get ($key)
 Get the element at index. More...
 
 filter (\Closure $f)
 
 set ($key, $value)
 Set the value for index. More...
 
 remove ($element)
 
 getOnlyElement ()
 Shorthand for getting a single element that also must be the only element in the collection. More...
 
 first ()
 Return the first element from the collection. More...
 
 last ()
 Return the last element from the collection. More...
 
 map (\Closure $function)
 Applies the given function to each element in the collection and returns a new collection with the elements returned by the function. More...
 
 count ()
 
 getIterator ()
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 

Additional Inherited Members

- Protected Attributes inherited from SAML2\Utilities\ArrayCollection
 $elements
 

Detailed Description

Simple collection object for transporting keys.

Deprecated:
Please load full certificates instead.

Definition at line 12 of file FingerprintCollection.php.

Member Function Documentation

◆ add()

SAML2\Certificate\FingerprintCollection::add (   $fingerprint)

Add a key to the collection.

Parameters
\SAML2\Certificate\Fingerprint$fingerprint
Deprecated:

Implements SAML2\Utilities\Collection.

Definition at line 21 of file FingerprintCollection.php.

References add(), and SAML2\Exception\InvalidArgumentException\invalidType().

22  {
23  if (!$fingerprint instanceof Fingerprint) {
25  'SAML2\Certificate\Fingerprint ',
26  $fingerprint
27  );
28  }
29 
30  parent::add($fingerprint);
31  }
add()
Definition: add.php:2
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: