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

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

public get ( $uri, $params = [] )
    public function get($uri, $params = [])
    {
        $uri = $this->resolveUri($uri);
        if (!empty($params)) {
            $uri->extendQuery($params);
        }
        $this->setOptions(['method' => Method::GET, 'content' => '']);
        $this->header->remove('Content-Type');
        return $this->send($uri);
    }