for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace AcquiaCloudApi\Response;
/**
* @template-extends \ArrayObject<int, \AcquiaCloudApi\Response\ServerResponse>
*/
class ServersResponse extends \ArrayObject
{
* @param array<object> $servers
public function __construct(array $servers)
parent::__construct(
array_map(
static function ($server) {
return new ServerResponse($server);
},
$servers
),
self::ARRAY_AS_PROPS
);
}