public static function all($locale = null)
    {
        return static::keys()->mapWithKeys(function ($key) use ($locale) {
            return [$key => trans("blog::posts.statuses.{$key}", [], $locale)];
        });
    }
public static function all($locale = null)
    {
        return static::keys()->mapWithKeys(function ($key) use ($locale) {
            return [$key => trans("blog::posts.statuses.{$key}", [], $locale)];
        });
    }
public static function all ( $ locale = null ) { return static :: keys ( ) -> mapWithKeys ( function ( $ key ) use ( $ locale ) { return [ $ key => trans ( "blog::posts.statuses.{$key}" , [ ] , $ locale ) ] ; } ) ; }
Get all posts status

@param  string|null  $locale

@return \Illuminate\Support\Collection
Get all posts status