Open Anubarak opened 3 years ago
Maybe this is what you are looking for?
https://www.jetbrains.com/help/phpstorm/symfony-creating-helper-functions.html
@Lorenzschaef Not 100% what I wanted - but I can go with that. Thank you very much. This functionality is awesome
yes, in general i am thinking to support "wildcards" for templates in many places and also to improve all php completion with code path analyse, with both this would catch your use case here.
Sorry for the incredible bad title.. and thank you very much for your great plugin, it really helps me. One thing I was looking for is the following:
My Controller
pressing CTRL enables me to jump right to the template and all variables in the template are available in PHPStorm
I would like to create a custom wrapper for this
So my question is: is there any possible way (via PHPDoc, Plugin Settings injection or whatever) to tell PHPStorm
myCustomTemplateRenderFunction
actually calls a render function with a certain path in the end?Thank you very much.