protected static blockCustomHelper ( array\array |
||
$context | array\array |
|
$vars | array |
|
$inverted | boolean | the logic will be inverted |
Résultat | integer | null | Return number of used custom helpers |
protected static function blockCustomHelper(&$context, $vars, $inverted = false)
{
if (is_string($vars[0][0])) {
if (static::resolveHelper($context, $vars[0][0])) {
return ++$context['usedFeature']['helper'];
}
}
}