【发布时间】:2018-12-22 05:38:33
【问题描述】:
$client = new Client(['base_uri' => 'http://api.tvmaze.com/']);
$res = $client->request('GET', '/schedule?country=US&date=2014-12-01');
return $res;
返回此错误:
"Class 'Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory' not found"
我尝试在我的 composer.json 文件中包含 "symfony/psr-http-message-bridge": "0.2"
【问题讨论】: