Intellisense and magic __get and __set

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Intellisense and magic __get and __set

Postby darcome » December 10th, 2016, 9:45 pm

Hello everyone,

Is there a way to use intellisense together with magic __get and __set?

Thanks in advance,
Luca
darcome
 
Posts: 7
Joined: April 2nd, 2016, 9:35 pm

Re: Intellisense and magic __get and __set

Postby Jakub Misek » December 16th, 2016, 2:30 pm

Hi,

If you'd like to extend IntelliSense with properties that you hande in __get/__set, there is standard PHPDoc keyword for that.

Please see https://phpdoc.org/docs/latest/referenc ... perty.html

Thanks,
Jakub
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 59 guests

cron

User Control Panel

Login

Who is online

In total there are 59 users online :: 0 registered, 0 hidden and 59 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 59 guests