22        $context->register(
'CurrentToken', $token);
 
   24        foreach ($tokens as $key => $token) {
 
   33            if (!empty($token->armor[
'ValidateAttributes'])) {
 
   38            $validator->validateToken($token, 
$config, $context);
 
   40        $context->destroy(
'CurrentToken');
 
An exception for terminatinating execution or to throw for unit testing.
Validates the attributes of a token.
Validate all attributes in the tokens.
execute($tokens, $config, $context)
Supertype for classes that define a strategy for modifying/purifying tokens.
Concrete empty token class.
Concrete start token class.