重複の可能性:
PHP: self vs thisおよび $this よりも self を使用する場合
$this
とはどう違いますかself::
例:
class Object{
public $property;
function doSomething(){
// This
$something = $this->property;
// Self
$something = self::property;
...code...
}
}