/** * Returns the singleton instance of the class. * * @since 1.0.0 * * @return object The Soliloquy object. */ public static function get_instance() { if (!isset(self::$instance) && !self::$instance instanceof Soliloquy) { self::$instance = new Soliloquy(); } return self::$instance; }