/** * Get instance of the class itself * * @return noteDB */ public static function getInstance() { if (!self::$instance instanceof self) { self::$instance = new self(); } return self::$instance; }