1

in blade template I have used like:

{{ Helper::getName() }}

But how it is used with twig template?

ArK
  • 20,698
  • 67
  • 109
  • 136
Tonmoy Nandy
  • 161
  • 1
  • 4
  • Possible duplicate of [Call PHP function from Twig template](http://stackoverflow.com/questions/18665923/call-php-function-from-twig-template) – Tim Nov 26 '15 at 12:13

1 Answers1

0

If you are using laravel-twigbridge you can use helpers from default Extensions, e.g:

{{ form_open(...) }}

instead of

{{ Form::open(...) }}

See docs

Ján Kyselica
  • 701
  • 5
  • 15