Phalcon\Http\Client\Request::__construct PHP Метод

__construct() публичный Метод

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

Usage Example

Пример #1
1
 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