1 | <?php |
||
10 | class JsLocalizationController extends Controller |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * Create the JS-Response for all configured translation messages |
||
15 | * |
||
16 | * @return \Illuminate\Http\Response |
||
17 | */ |
||
18 | 2 | public function createJsMessages() |
|
26 | |||
27 | /** |
||
28 | * @return \Illuminate\Http\Response |
||
29 | */ |
||
30 | 2 | public function createJsConfig() |
|
46 | |||
47 | /** |
||
48 | * Deliver the Framework for getting the translation in JS |
||
49 | * |
||
50 | * @return \Illuminate\Http\Response |
||
51 | */ |
||
52 | 1 | public function deliverLocalizationJS() |
|
60 | |||
61 | /** |
||
62 | * Deliver one file that combines messages and framework. |
||
63 | * Saves one additional HTTP-Request |
||
64 | * |
||
65 | * @return \Illuminate\Http\Response |
||
66 | */ |
||
67 | 1 | public function deliverAllInOne() |
|
86 | |||
87 | /** |
||
88 | * Transforms the cached data to stay compatible to old versions of the package. |
||
89 | * |
||
90 | * @param string $messages |
||
91 | * @return string |
||
92 | */ |
||
93 | 3 | protected function ensureBackwardsCompatibility($messages) |
|
101 | |||
102 | /** |
||
103 | * Get the configured messages from the translation files |
||
104 | * |
||
105 | * @return string |
||
106 | */ |
||
107 | 3 | protected function getMessagesJson() |
|
116 | |||
117 | /** |
||
118 | * Get the JSON-encoded config properties that shall be passed to the client. |
||
119 | * |
||
120 | * @return string |
||
121 | */ |
||
122 | 3 | protected function getConfigJson() |
|
130 | |||
131 | } |
||
132 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.