The class Arcanedev\Support\Collection has been deprecated with message: Use the basic laravel collection
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be
removed from the class and what other constant to use instead.
Loading history...
34
42
static::STATUS_DRAFT,
35
42
static::STATUS_PUBLISHED,
36
]);
37
}
38
39
/**
40
* Get all posts status
41
*
42
* @param string|null $locale
43
*
44
* @return \Illuminate\Support\Collection
45
*/
46
public static function all($locale = null)
47
{
48
39
return static::keys()->mapWithKeys(function ($key) use ($locale) {
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.