setProxy() public method

public setProxy ( $proxy ) : self
return self
示例#1
0
 public function __construct($request)
 {
     $this->psrRequest = $request;
     $requestFactory = new RequestFactory();
     $requestFactory->setProxy(array());
     $this->request = $requestFactory->createHttpRequest();
     $this->url = $this->request->getUrl();
     //$this->resolveFormat();
     $this->path = $this->url->getPathInfo();
 }