/** * Creates or returns an instance of this class. * * @return REST_API_Enabler A single instance of this class. */ public static function get_instance($args = array()) { if (null == self::$instance) { self::$instance = new self($args); } return self::$instance; }