getApiKey() public static method

public static getApiKey ( ) : string
return string The API key used for requests.
Ejemplo n.º 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');
 }