ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
SAML2\Utilities\Temporal Class Reference
+ Collaboration diagram for SAML2\Utilities\Temporal:

Static Public Member Functions

static getTime ()
 Getter for getting the current timestamp. More...
 

Detailed Description

Definition at line 5 of file Temporal.php.

Member Function Documentation

◆ getTime()

static SAML2\Utilities\Temporal::getTime ( )
static

Getter for getting the current timestamp.

Use this rather than time() calls directly as this can be mocked for testing purposes.

Returns
int

Definition at line 13 of file Temporal.php.

Referenced by SAML2\Assertion\Validation\ConstraintValidator\NotBefore\validate(), SAML2\Assertion\Validation\ConstraintValidator\SubjectConfirmationNotOnOrAfter\validate(), SAML2\Assertion\Validation\ConstraintValidator\SubjectConfirmationNotBefore\validate(), SAML2\Assertion\Validation\ConstraintValidator\SessionNotOnOrAfter\validate(), and SAML2\Assertion\Validation\ConstraintValidator\NotOnOrAfter\validate().

14  {
15  return time();
16  }
+ Here is the caller graph for this function:

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