public static function all($locale = null)
    {
        return static::keys()->mapWithKeys(function ($code) use ($locale) {
            return [$code => Seo::getTrans("redirections.statuses.{$code}", [], $locale)];
        });
    }
public static function all($locale = null)
    {
        return static::keys()->mapWithKeys(function ($code) use ($locale) {
            return [$code => Seo::getTrans("redirections.statuses.{$code}", [], $locale)];
        });
    }
public static function all ( $ locale = null ) { return static :: keys ( ) -> mapWithKeys ( function ( $ code ) use ( $ locale ) { return [ $ code => Seo :: getTrans ( "redirections.statuses.{$code}" , [ ] , $ locale ) ] ; } ) ; }
Get the all status names.

@param  string|null  $locale

@return \Illuminate\Support\Collection
Get the all status names .