Phalcon\Http\Client\Request::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( )
    public function __construct()
    {
        $this->baseUri = new Uri();
        $this->header = new Header();
    }

Usage Example

예제 #1
1
파일: Curl.php 프로젝트: Zaszczyk/incubator
 public function __construct()
 {
     if (!self::isAvailable()) {
         throw new ProviderException('CURL extension is not loaded');
     }
     $this->handle = curl_init();
     $this->initOptions();
     parent::__construct();
 }
All Usage Examples Of Phalcon\Http\Client\Request::__construct