We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

viewing volt tag helper's parameters

I am trying to create a select box. If I have {{ select(param1, param2, param3) }}. How can I see what the parameters are that I need to pass in? I am using phpstorm and would prefer to be able to press ctrl + p to view the functions parameters.

FInd support for Volt in PHPStorm. I use Twig filetype and not work Ctrl+P for Tag helpers. Is necessary create plugin for Volt.



79.0k
Accepted
answer
edited Aug '16

Volt is an ultra-fast and designer friendly templating language written in C for PHP.

So, it's not 'available' per se, but just like regular PHP function - you need to go to php.net manual to check out description etc.

I'm using PhpStorm with Twig support for Volt, which is fine for daily usage once you get into the syntax via Phalcon docs or Zephir source.