protected function getFontSizes(array $style = [])
    {
        //Maximum and minimun font sizes we want to use
        $maxFont = empty($style['maxFont']) ? 40 : $style['maxFont'];
        $minFont = empty($style['minFont']) ? 12 : $style['minFont'];
        is_true_or_fail($maxFont > $minFont, __d('me_cms', 'Invalid values'), InvalidArgumentException::class);

        return [$maxFont, $minFont];
    }
protected function getFontSizes(array $style = [])
    {
        //Maximum and minimun font sizes we want to use
        $maxFont = empty($style['maxFont']) ? 40 : $style['maxFont'];
        $minFont = empty($style['minFont']) ? 12 : $style['minFont'];
        is_true_or_fail($maxFont > $minFont, __d('me_cms', 'Invalid values'), InvalidArgumentException::class);

        return [$maxFont, $minFont];
    }
protected function getFontSizes ( array $ style = [ ] ) { //Maximum and minimun font sizes we want to use $ maxFont = empty ( $ style [ 'maxFont' ] ) ? 40 : $ style [ 'maxFont' ] ; $ minFont = empty ( $ style [ 'minFont' ] ) ? 12 : $ style [ 'minFont' ] ; is_true_or_fail ( $ maxFont > $ minFont , __d ( 'me_cms' , 'Invalid values' ) , InvalidArgumentException :: class ) ; return [ $ maxFont , $ minFont ] ; }
Internal method to get the font sizes
@param array|bool $style Style for tags. Array with `maxFont` and
`minFont` keys or `false` to disable
@return array
@throws InvalidArgumentException
Internal method to get the font sizes