daily pastebin goal
12%
SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3.  class SomePresenter
  4.  {
  5.      public function someAction()
  6.      {
  7.          // Kdyby/Translation differnce to natvie Symfony/Translation
  8.          $this->translations->translate('Hi, my name is %name%', [
  9. -            'name' => 'Tom',
  10. +            '%name%' => 'Tom',
  11.          ]);
  12.      }
  13.  }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top