1 | <?php namespace Arcanedev\LaravelSeo\Entities; |
||
11 | class RedirectStatuses |
||
12 | { |
||
13 | /* ----------------------------------------------------------------- |
||
14 | | Main Methods |
||
15 | | ----------------------------------------------------------------- |
||
16 | */ |
||
17 | /** |
||
18 | * Get the all status names. |
||
19 | * |
||
20 | * @return \Illuminate\Support\Collection |
||
21 | */ |
||
22 | 12 | public static function all($locale = null) |
|
35 | |||
36 | /** |
||
37 | * Get the all status codes. |
||
38 | * |
||
39 | * @return \Illuminate\Support\Collection |
||
40 | */ |
||
41 | 3 | public static function keys() |
|
45 | |||
46 | /** |
||
47 | * Get the status name. |
||
48 | * |
||
49 | * @param int $key |
||
50 | * @param string|null $default |
||
51 | * |
||
52 | * @return string |
||
53 | */ |
||
54 | 3 | public static function get($key, $default = null, $locale = null) |
|
58 | } |
||
59 |