10 public function execute($tokens, $config, $context) {
16 $context->register(
'CurrentToken', $token);
18 foreach ($tokens as $key => $token) {
25 if (!empty($token->armor[
'ValidateAttributes']))
continue;
28 $validator->validateToken($token, $config, $context);
30 $tokens[$key] = $token;
32 $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)