Alterway\Component\Workflow\Transition::isOpen PHP Method

isOpen() public method

Checks if the current transition satisfies the specifiation on the given context.
public isOpen ( Alterway\Component\Workflow\ContextInterface $context ) : boolean
$context Alterway\Component\Workflow\ContextInterface
return boolean
    public function isOpen(ContextInterface $context)
    {
        return $this->spec->isSatisfiedBy($context);
    }