protected static function blockCustomHelper(&$context, $vars, $inverted = false) {
        if (is_string($vars[0][0])) {
            if (static::resolveHelper($context, $vars)) {
                return ++$context['usedFeature']['helper'];
            }
        }
    }
protected static function blockCustomHelper(&$context, $vars, $inverted = false) {
        if (is_string($vars[0][0])) {
            if (static::resolveHelper($context, $vars)) {
                return ++$context['usedFeature']['helper'];
            }
        }
    }
protected static function blockCustomHelper ( & $ context , $ vars , $ inverted = false ) { if ( is_string ( $ vars [ 0 ] [ 0 ] ) ) { if ( static :: resolveHelper ( $ context , $ vars ) ) { return ++ $ context [ 'usedFeature' ] [ 'helper' ] ; } } }
validate block custom helper token

@param array<string,array|string|integer> $context current compile context
@param array<boolean|integer|string|array> $vars parsed arguments list
@param boolean $inverted the logic will be inverted

@return integer|null Return number of used custom helpers
validate block custom helper token