TeamsRecipientAutocompleteController
extends ControllerBase
in package
Custom controller for the autocomplete callback.
Table of Contents
- $graphService : GraphService
- The graph service.
- __construct() : mixed
- Constructor for our custom controller.
- create() : mixed
- {@inheritdoc}
- handleAutocomplete() : JsonResponse
- Handle our autocomplete request.
Properties
$graphService
The graph service.
protected
GraphService
$graphService
Methods
__construct()
Constructor for our custom controller.
public
__construct(GraphService $graphService) : mixed
Parameters
- $graphService : GraphService
-
The Graph service.
Return values
mixed —create()
{@inheritdoc}
public
static create(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
Return values
mixed —handleAutocomplete()
Handle our autocomplete request.
public
handleAutocomplete(Request $request) : JsonResponse
Parameters
- $request : Request
-
The request where we can get the parameters from.
Tags
Return values
JsonResponse —The JSON response used in the form.