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

public __construct ( )
 /**
  * @param $instagram Instagram The Instagram instance to make the Request with.
  */
 public function __construct($instagram)
 {
     parent::__construct();
     //$this->addHeader("Accept-Encoding", Constants::ACCEPT_ENCODING);
     $this->addHeader("Accept-Language", Constants::ACCEPT_LANGUAGE);
     $this->addHeader("X-IG-Capabilities", Constants::IG_CAPABILITIES);
     $this->addHeader("X-IG-Connection-Type", Constants::IG_CONNECTION_TYPE);
     $this->addHeader("User-Agent", Constants::USER_AGENT);
     $this->setInstagram($instagram);
     $this->setProxy($instagram->getProxy());
     $this->setProxyCredentials($instagram->getProxyCredentials());
     $this->setVerifyPeer($instagram->shouldVerifyPeer());
 }