src/SellerLabs/Nucleus/Support/Str.php
public static function endsWith($subject, $suffix, $encoding = null)
    {
        return Rope::of($subject, $encoding)->endsWith($suffix);
    }
public static function endsWith($subject, $suffix, $encoding = null)
    {
        return Rope::of($subject, $encoding)->endsWith($suffix);
    }
public static function endsWith ( $ subject , $ suffix , $ encoding = null ) { return Rope :: of ( $ subject , $ encoding ) -> endsWith ( $ suffix ) ; }
Return whether or not the provided subject ends with suffix.

@param string $subject
@param string $suffix
@param null|string $encoding

@return bool
@throws InvalidArgumentException
Return whether or not the provided subject ends with suffix .