예제 #1
0
파일: Plivo.php 프로젝트: midnite81/plivo
 /**
  * Plivo constructor.
  * This is an extra layer to support dependency injection.
  */
 public function __construct()
 {
     $this->auth_id = config('plivo.auth-id');
     $this->auth_token = config('plivo.auth-token');
     $this->url = config('plivo.api-url');
     $this->version = config('plivo.api-version');
     $this->api = $this->url . "/" . $this->version . "/Account/" . $this->auth_id;
     parent::__construct($this->auth_id, $this->auth_token, $this->url, $this->version);
 }