С
$weatherData = json_decode($response->getBody(), true);
return new JsonDataTransferObject($data);
В самом дто:
public function __construct(array $weatherData = [])
{
$this->temperature = $weatherData['fact']['temp'];
}
Size: a a a
С
$weatherData = json_decode($response->getBody(), true);
return new JsonDataTransferObject($data);
public function __construct(array $weatherData = [])
{
$this->temperature = $weatherData['fact']['temp'];
}
С
RS
P
P
RS
С
RS
RS
RS
С
RS
С
С
RS
С
С