public function __construct(array $info) { foreach ($info as &$shard) { $shard = new Shard($shard); } parent::__construct($info); }