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

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

public __construct ( )
    public function __construct()
    {
        if (!self::isAvailable()) {
            throw new ProviderException('HTTP or HTTPS stream wrappers not registered');
        }
        $this->context = stream_context_create();
        $this->initOptions();
        parent::__construct();
    }