PHP Class Metabor\Statemachine\Condition\Callback

Author: otischlinger
Inheritance: extends Metabor\Named, implements MetaborStd\Statemachine\ConditionInterface
Afficher le fichier Open project: metabor/statemachine

Méthodes publiques

Méthode Description
__construct ( string $name, callable $callable )
checkCondition ( $subject, ArrayAccess $context )

Method Details

__construct() public méthode

public __construct ( string $name, callable $callable )
$name string
$callable callable

checkCondition() public méthode

public checkCondition ( $subject, ArrayAccess $context )
$context ArrayAccess