@@ 170-176 (lines=7) @@ | ||
167 | * @param string $locale |
|
168 | * @return string |
|
169 | */ |
|
170 | public function trans() |
|
171 | { |
|
172 | $args = func_get_args(); |
|
173 | $args[0] = $this->name.'::'.$args[0]; |
|
174 | ||
175 | return call_user_func_array([$this->app['translator'], 'trans'], $args); |
|
176 | } |
|
177 | ||
178 | /** |
|
179 | * Translates the given message based on a count. |
|
@@ 188-194 (lines=7) @@ | ||
185 | * @param string $locale |
|
186 | * @return string |
|
187 | */ |
|
188 | public function transChoice() |
|
189 | { |
|
190 | $args = func_get_args(); |
|
191 | $args[0] = $this->name.'::'.$args[0]; |
|
192 | ||
193 | return call_user_func_array([$this->app['translator'], 'transChoice'], $args); |
|
194 | } |
|
195 | ||
196 | /** |
|
197 | * @param string $view |