|
As I see it, the simple solution is:
/** * Method description... * * @return this Instance of this class. */ public function test() { return $this; } |
|
IMHO, any method that returns $this should automatically be picked up as the object the method was called from. It can be nothing else...
|
|
This looks like a similar problem to mine... ( http://forum.nusphere.com/viewtopic.php?t=6315 ) How to specify that given method returns $this (the derived class type) at the end?
|
|
Hi,
i'm trying to write some code using "fluent interface" model. It means that every class method returns $this after comletion, so the programmer can write code like this: $value = G ... |
|
"Typically, as soon as I start the project in debug mode I get a crash."
I don't know if this is true (because I'm not a nusphere programmer), but I think, that phpEd is using custom buil ... |
|
Maybe you should try to reinstall phpED in c:\program files\ directory? (yes, in the directory containing 64-bit applications). It doesn't change anything on runtime, but maybe you didn't change all t ...
|
|
Yes, it looks like a Windows bug (under any OS, even 32-bit versions).Windows stops sending WM_SIZE message if there is too many nested child windows and one of them is trying to resize itself while i ...
|
|
If I understand correctly, You want to have code completion working for variables accessed only by getters/setters? If its true, then do the following trick
class test { // its public, so ... |
Page 1 of 1 | All times are GMT - 5 Hours |
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by