template = new PxeTemplateOutput($bootFile->getTemplate()); $this->clients = $bootFile->getClients()->map( fn(Client $client) => new ClientOutput($client) )->toArray(); $this->synchronized = $bootFile->isSynchronized(); $this->createdAt = $bootFile->getCreatedAt(); $this->createdBy = $bootFile->getCreatedBy(); } }