transporter = $transporter; } public function get() { $response = $this->transporter->get('models'); return ModelsResponse::fromJson($response); } }