Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class SomePresenter
- {
- public function someAction()
- {
- // Kdyby/Translation differnce to natvie Symfony/Translation
- $this->translations->translate('Hi, my name is %name%', [
- - 'name' => 'Tom',
- + '%name%' => 'Tom',
- ]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement