Array typehinting with Type[]
3 posts
• Page 1 of 1
Array typehinting with Type[]
Hi,
it would be great if you could support the array notation Type[] to work with intellisense. I have for example the following class:
and when using "NtpConfiguration->ServerConfigurationArray[1]->Name" I would like PHP tools to know that $Name is a defined property of "ServerConfiguration" as it does when using it without the [].
regards
it would be great if you could support the array notation Type[] to work with intellisense. I have for example the following class:
- Code: Select all
/**
* Base class for XML deserialization.
*
* @property ServerConfiguration[] $ServerConfigurationArray The Server Configuration.
*
* @package Xml.Model
*/
class NtpConfiguration extends XmlAppModel
{
}
and when using "NtpConfiguration->ServerConfigurationArray[1]->Name" I would like PHP tools to know that $Name is a defined property of "ServerConfiguration" as it does when using it without the [].
regards
- CFI
- Posts: 66
- Joined: December 13th, 2012, 1:29 pm
Re: Array typehinting with Type[]
Hi,
This feature is already supported in upcoming version. I'll keep you informed about public availability.
Thanks!
This feature is already supported in upcoming version. I'll keep you informed about public availability.
Thanks!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Array typehinting with Type[]
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 56 guests