public function __construct(ClientInterface $client, $url) { $this->client = $client; $this->url = $url; }