This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Autocomplete methods for dependency injection container in symfony 2 and zendframewok 2 | ||
---|---|---|---|
Product: | php | Reporter: | dextervip |
Component: | Symfony | Assignee: | Tomas Mysik <tmysik> |
Status: | NEW --- | ||
Severity: | normal | CC: | fazae, obrejla, thiagokrug |
Priority: | P3 | ||
Version: | 7.3.1 | ||
Hardware: | PC | ||
OS: | Other | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
dextervip
2013-02-26 16:59:55 UTC
Thanks for the report, we will try to look at it. The easiest way to parse the file app/cache/dev/appDevDebugProjectContainer.xml This file provide all services informations, parameters, constructors : - name - return type - scope - tags - call The tag is services, with sub tag service for each of them. if it is too difficult, maybe we could use annotation. Today, it is working for class variable, but not for variable in methods. Something like : // @var Doctrine\Bundle\DoctrineBundle\Registry $em=$this->container->get('doctrine'); Autocomplete works witrh netbeans if you use this syntax : /* @var $em \Doctrine\Bundle\DoctrineBundle\Registry */ $em=$this->container->get('doctrine'); $em->... |