I have a controller in CakePHP 2.2 application.
I use PhpStorm 4.0.1 as IDE.
In MyController.php file I declare this:
/**
* @property MyUtilComponent $MyUtil
*/
Inside my controller, when I write
$this->
I can select "MyUtilComponent" from drop down list.But when I write
$this->MyUtilComponent->
no function name option comes to select.When I write
$this->MyUtil->addThis();
and then click toaddThis
word and "Go to declaration", then PhpStorm goes to method's declaration successfully.
What should I do more to get function names autocompletion ?
Note: The behaviour is same for the core components.