service = $service; } /** * This sets the form to edit mode, after fetching the connected app of * the given id. */ public function set(ConnectedAppData $data): void { $this->name = $data->name; $this->protocolId = $data->protocolId; $this->providerId = $data->providerId; $this->statusId = $data->statusId; } }