protected function addSuffix($suffix, $string)
    {
        if (substr($string, -strlen($suffix)) !== (string) $suffix) {
            $string .= $suffix;
        }

        return $string;
    }
protected function addSuffix($suffix, $string)
    {
        if (substr($string, -strlen($suffix)) !== (string) $suffix) {
            $string .= $suffix;
        }

        return $string;
    }
protected function addSuffix ( $ suffix , $ string ) { if ( substr ( $ string , - strlen ( $ suffix ) ) !== ( string ) $ suffix ) { $ string .= $ suffix ; } return $ string ; }
Add suffix to string.

@param $suffix
@param $string
@return mixed
Add suffix to string .