I
I
inDeepCode2016-04-11 10:56:05
symfony
inDeepCode, 2016-04-11 10:56:05

How to configure PHPStorm to correctly declare paths inside twig block constructs?

{% block product_comments %}
{{ sonata_block_render_event( 'sonata.Comment' , {'id': 'front-product-' ~ product.id}) }}
{% endblock %}
hovering over "sonata.Comment" says: Cannot find declaration to go to

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Romanenko, 2016-04-11
@inDeepCode

symfony plugin for phpstorm worth it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question