Autocomplete elements of an array
Hello !
I work with a dependency injection container.
( http://pimple.sensiolabs.org/ )
For example:
-------------------
private $myArray = array();
public function serviceContainer()
{
/** var $myArray['foo'] Front_Model_Foo */
$this->myArray['foo'] = function(){
return new foo();
};
/** var $myArray['bar'] Front_Model_Bar */
$this->myArray['bar'] = function(){
return new bar();
};
}
--------------
Is there a way for autocomplete in PhpStorm ?
Your sincerly
Stephan
Please sign in to leave a comment.
Hi there,
No.
http://youtrack.jetbrains.com/issue/WI-17116 , I guess.