Intellisense for late static binding
3 posts
• Page 1 of 1
Intellisense for late static binding
Hi!
I'm trying to set up Intellisense for factory methods like this:
Am I doing something wrong or is this feature not supported?
I'm trying to set up Intellisense for factory methods like this:
- Code: Select all
class foo
{
/** @return static */
public static function create()
{
return new static();
}
}
class bar extends foo
{
public $id;
}
bar::create()-> // I should see $id now but only create() pops up
Am I doing something wrong or is this feature not supported?
- pk6610
- Posts: 2
- Joined: March 14th, 2014, 10:27 am
Re: Intellisense for late static binding
Hi,
Currently (version 1.11) IntelliSense treats static:: as self::
We'll improve late static binding for sure in a future release.
Thanks,
Currently (version 1.11) IntelliSense treats static:: as self::
We'll improve late static binding for sure in a future release.
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: Intellisense for late static binding
Thank you for fast response.
I am looking forward to it!
Jakub Misek wrote:We'll improve late static binding for sure in a future release.
I am looking forward to it!
- pk6610
- Posts: 2
- Joined: March 14th, 2014, 10:27 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 124 guests