1 | <?php |
||
8 | class Date extends Intl |
||
9 | { |
||
10 | /** |
||
11 | * Handle dynamic calls to the object. |
||
12 | * |
||
13 | * @param string $method |
||
14 | * @param array $arguments |
||
15 | * @return mixed |
||
16 | */ |
||
17 | 15 | public function __call($method, $arguments) |
|
21 | |||
22 | /** |
||
23 | * Get the current locale. |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | 3 | public function getLocale() |
|
31 | |||
32 | /** |
||
33 | * Set the current locale. |
||
34 | * |
||
35 | * @param $locale |
||
36 | * @return $this |
||
37 | */ |
||
38 | 15 | public function setLocale($locale) |
|
44 | |||
45 | /** |
||
46 | * Get the fallback locale. |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | 3 | public function getFallbackLocale() |
|
54 | |||
55 | /** |
||
56 | * Set the fallback locale. |
||
57 | * |
||
58 | * @param $locale |
||
59 | * @return $this |
||
60 | */ |
||
61 | 15 | public function setFallbackLocale($locale) |
|
67 | } |