Ejemplo n.º 1
0
 /**
  * Main WP_Rocket_CloudFlareAPI Instance
  *
  * Ensures only one instance of class is loaded or can be loaded.
  *
  * @static
  * @return Main instance
  */
 public static function instance($email, $api_key)
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new self($email, $api_key);
     }
     return self::$_instance;
 }