public function getInstance() { if (self::$_instance === NULL) { self::$_instance = new PS_CLI_Hooks(); } return self::$_instance; }