LightnCandy\Validator::comment PHP Метод

comment() защищенный статический Метод

handle comment
protected static comment ( string[] &$token, array\arraystring | integer> &$context ) : boolean | null
$token string[] detected handlebars {{ }} token
$context array\arraystring | integer>
Результат boolean | null Return true when is comment
    protected static function comment(&$token, &$context)
    {
        if ($token[Token::POS_OP] === '!') {
            $context['usedFeature']['comment']++;
            return true;
        }
    }