final class TeamsRecipientAutocompleteController extends ControllerBase

Custom controller for the autocomplete callback.

Properties

protected GraphService $graphService

The graph service.

Methods

__construct(GraphService $graphService)

Constructor for our custom controller.

static 
create(ContainerInterface $container)

{@inheritdoc}

JsonResponse
handleAutocomplete(Request $request)

Handle our autocomplete request.

Details

at line 31
__construct(GraphService $graphService)

Constructor for our custom controller.

Parameters

GraphService $graphService

The Graph service.

at line 38
static create(ContainerInterface $container)

{@inheritdoc}

Parameters

ContainerInterface $container

at line 55
JsonResponse handleAutocomplete(Request $request)

Handle our autocomplete request.

Parameters

Request $request

The request where we can get the parameters from.

Return Value

JsonResponse

The JSON response used in the form.

Exceptions

TempStoreException
GuzzleException
IdentityProviderException