public static function get_instance() { if (self::$instance === null) { // new static() will work too self::$instance = new URE_Capabilities_Groups_Manager(); } return self::$instance; }