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\TeamResponse>
*/
class TeamsResponse extends \ArrayObject
{
* @param array<object> $teams
public function __construct(array $teams)
parent::__construct(
array_map(
static function ($team) {
return new TeamResponse($team);
},
$teams
),
self::ARRAY_AS_PROPS
);
}