private static function suffixName(string $name, string $suffix)
    {
        return \substr($name, -\strlen($suffix)) === $suffix ? $name : \sprintf('%s%s', $name, $suffix);
    }
private static function suffixName(string $name, string $suffix)
    {
        return \substr($name, -\strlen($suffix)) === $suffix ? $name : \sprintf('%s%s', $name, $suffix);
    }
private static function suffixName ( string $ name , string $ suffix ) { return \ substr ( $ name , - \ strlen ( $ suffix ) ) === $ suffix ? $ name : \ sprintf ( '%s%s' , $ name , $ suffix ) ; }
Suffix a name if it is not already.

@param string $name
@param string $suffix

@return string
Suffix a name if it is not already .