Pingpp\Pingpp::getApiKey PHP Méthode

getApiKey() public static méthode

public static getApiKey ( ) : string
Résultat string The API key used for requests.
    public static function getApiKey()
    {
        return self::$apiKey;
    }

Usage Example

Exemple #1
0
 function __construct()
 {
     require_once '/application/third_party/pingpp/init.php';
     $this->appId = "app_fX9ijPX1qTK4DeLK";
     \Pingpp\Pingpp::setApiKey(\Pingpp\Pingpp::getApiKey());
     $this->load->model('order_model');
     $this->load->model('user_payment_model');
     $this->load->model('withdraw_model');
 }