$this and self
This lesson discusses the use of this and self in accessing members in classes.
We'll cover the following...
$this
The pseudo-variable $this
refers to a member of a class according to an instance of that class. It provides a reference to the calling object, that is the object to which the method or property belongs to. Note that the member of the class must be non-static.
The Object Operator
The ->
symbol is a built-in construct in ...