public static function endsWith($suffix) { return function ($string) use($suffix) { return Strings::endsWith($string, $suffix); }; }