title: Typehint (intellisense) objects within a twig loop
body: <p>I've searched for a solution but I can't find any suitable for Twig, I know it's a quality of life thing. But it would make templating slightly easier.</p>
  
  <p><strong>Example</strong></p>
  
  <pre><code>{% for userObj in userObjCollection %}
    {{ userObj.property }} 
    {# I want to type hint userObj so I can use intellisense to get the right property #}
  {% endfor %}
  </code></pre>
  
  <p>I'm currently using the PHPStorm IDE,<br>
  any suggestions or pointers are greatly appreciated.</p>
  
  <p><strong>Edit</strong>
  Note that this is pure a question for an easier way to code within the loop. Not something a user of a site would come in contact with. (Also added phpstorm tag to clarify)</p>
  
  <p><strong>Edit 2</strong><br>
  I've got the Symfony2 and PHP Annotations plugins installed (Sorry for not pointing this out earlier)</p>