url = $url; $this->properties = $properties; $this->headers = $headers; } /** * @return mixed */ public function getUrl() { return $this->url; } /** * @param $property * @return mixed */ public function getProperty($property) { if (isset($this->properties[$property])) { return $this->properties[$property]; } return null; } /** * @return mixed */ public function getProperties() { return $this->properties; } /** * @return mixed */ public function getHeaders() { return $this->headers; } }