com\setasign\Konquadrat\Workflow

WorkflowSimpleCacheValidator Interface ValidatorInterface

File: /Konquadrat/src/Workflow/WorkflowSimpleCacheValidator.php

Class hierarchy

Implements

Summary

Properties

$compareHash


Methods

__construct()

public WorkflowSimpleCacheValidator::__construct (
string $compareHash
)
Parameters
$compareHash: string
 

getValidationInfo()

Fetches the actual validation information.

isValid()

public WorkflowSimpleCacheValidator::isValid (
mixed $validationInfo
): bool

This method checks whether the cached value is still valid.

Parameters
$validationInfo: mixed

Must accept all possible results of getValidationInfo and null.