ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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.

References time.

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  }
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
+ Here is the caller graph for this function:

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