VS.Php adds support for magic properties
Fri, 2007-09-07 05:24
In the latest dev build you will find a new feature that will help those using magic properties.
When you document a class like this:
/**
* my class
* @property string $myName This is a cool property
*/
class myClass
{
}
Any instance of myClass will show the property myName as specified in the PhpDoc comment. This is useful for those using magic properties via the __get and __set methods.
The intellisense also sets the type of the variable as well as a description of it.
You can get this functionality on the latest build here: