| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 43 | public function handleRequest(Request $request): Response |
||
| 44 | { |
||
| 45 | // here for example try to get full address. DeviceAddressInformationHelper->getAddress($request) |
||
| 46 | // when you get a 403 do sth. like the following. |
||
| 47 | |||
| 48 | // create a card to ask the user for full address permissions |
||
| 49 | $card = Card::createAskForPermissionsConsent([Card::PERMISSION_FULL_ADDRESS]); |
||
| 50 | $this->responseHelper->card($card); |
||
| 51 | |||
| 52 | return $this->responseHelper->getResponse(); |
||
| 53 | } |
||
| 55 |