public function __construct(MessageFactory $messageFactory, HttpClient $client) { $this->client = $client; $this->messageFactory = $messageFactory; }