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');
Validates the attributes of a token.
Concrete start token class.
Validate all attributes in the tokens.
Supertype for classes that define a strategy for modifying/purifying tokens.
Concrete empty token class.
execute($tokens, $config, $context)