I have the code
public static function constructMe() {
if(!$this->_instance instanceof self) {
$this->_instance = new self();
}
return $this->_instance;
}
To instansiate the class, and there is a $_instance variable in the class, but I'm getting the error:
Fatal error: Using $this when not in object context