Skip to content

Commit 93c7b6c

Browse files
committed
DEVDOCS-10289 adding codeDepot markers
1 parent 37c25f7 commit 93c7b6c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Controllers/Examples/Rooms/EG006CreateExternalFormFillSession.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ public function __construct()
3838
function createController(): void
3939
{
4040
$this->checkDsToken();
41+
#ds-snippet-start:Rooms6Step3
4142
$room_id = $this->args['room_id'];
4243
$form_id = $this->args['form_id'];
4344
$this->args['x_frame_allowed_url'] = "http://localhost:8080";
45+
#ds-snippet-end:Rooms6Step3
4446

4547
if ($room_id && !$form_id) {
4648
$room = CreateExternalFormFillSessionService::getRoom(
@@ -88,6 +90,7 @@ function ($f) {
8890
$this->clientService
8991
);
9092

93+
#ds-snippet-start:Rooms6Step5
9194
if ($createExternalFormResponse) {
9295
$createExternalFormJSON = json_decode((string)$createExternalFormResponse, true);
9396

@@ -99,6 +102,7 @@ function ($f) {
99102

100103
);
101104
}
105+
#ds-snippet-end:Rooms6Step5
102106
}
103107
}
104108

src/Services/Examples/Rooms/CreateExternalFormFillSessionService.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
class CreateExternalFormFillSessionService
1010
{
11+
#ds-snippet-start:Rooms6Step4
1112
public static function createExternalFormFillSession($args, $clientService)
1213
{
1314
$form_session_api = $clientService->getExternalFormFillSessionsApi();
@@ -21,6 +22,7 @@ public static function createExternalFormFillSession($args, $clientService)
2122
}
2223
return $response;
2324
}
25+
#ds-snippet-end:Rooms6Step4
2426

2527
/**
2628
* Get available Rooms

0 commit comments

Comments
 (0)