Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

You have to use $this to refer to the instance and the T_OBJECT_OPERATOR to access/mutate/call members/methods of an instance, e.g.

$this->do(); 

Please go through the

You have to use $this to refer to the instance and the T_OBJECT_OPERATOR to access/mutate/call members/methods of an instance, e.g.

$this->do(); 

Please go through the

You have to use $this to refer to the instance and the T_OBJECT_OPERATOR to access/mutate/call members/methods of an instance, e.g.

$this->do(); 

Please go through the

added link to SO question I remembered on the subject; added 59 characters in body
Source Link
Gordon
  • 317.8k
  • 76
  • 548
  • 566

You have to use $this to refer to the instance and the T_OBJECT_OPERATOR to access/mutate/call members/methods of an instance, e.g.

$this->do(); 

Please go through the the Chapter on Classes and Objects in the PHP Manual.

You have to use $this to refer to the instance and the T_OBJECT_OPERATOR

$this->do(); 

Please go through the the Chapter on Classes and Objects in the PHP Manual.

You have to use $this to refer to the instance and the T_OBJECT_OPERATOR to access/mutate/call members/methods of an instance, e.g.

$this->do(); 

Please go through the

Source Link
Gordon
  • 317.8k
  • 76
  • 548
  • 566

You have to use $this to refer to the instance and the T_OBJECT_OPERATOR

$this->do(); 

Please go through the the Chapter on Classes and Objects in the PHP Manual.