BeanHelper.php
public static function filterContent(?string $content, bool $escape, bool $nl2br = false): ?string
    {
        return $escape ? Html::escape($content, $nl2br) : $content;
    }
public static function filterContent(?string $content, bool $escape, bool $nl2br = false): ?string
    {
        return $escape ? Html::escape($content, $nl2br) : $content;
    }
public static function filterContent ( ? string $ content , bool $ escape , bool $ nl2br = false ) : ? string { return $ escape ? Html :: escape ( $ content , $ nl2br ) : $ content ; }
Common filter for general content for getters
@param string|null $content
@param bool $escape
@return string|null
Common filter for general content for getters