Eldar Rakhimberdin
Eldar Rakhimberdin

Reputation: 1102

PhpDoc. Parameterization of variables in Eclipse

I heared Eclipse doesn't support parameterization of variables like this:

/**

@var DBProxy

*/

$proxy;

or

/**

@var Uri

*/

$uri = Registry::get('uri');

$uri->...

But no completions available

Is there any other solution?

Upvotes: 1

Views: 471

Answers (1)

Pascal MARTIN
Pascal MARTIN

Reputation: 401182

What about this :

/* @var $uri Uri  */
$uri = Registry::get('uri');


Basically, using :

/* @var $variableName VariableType */

should work.

Upvotes: 3

Related Questions