final class O365ContactsController extends ControllerBase

Returns responses for o365_contacts routes.

Properties

protected GraphService $o365Graph

Drupal\o365\GraphService definition.

protected O365ProfileGetDataService $profileInfo

The profile data service.

protected Request|null $request

The current request.

Methods

__construct(GraphService $o365_graph, RequestStack $requestStack, O365ProfileGetDataService $profileInfo)

Constructs a new TeamsGroup object.

array
build()

Builds the response.

static 
create(ContainerInterface $container)

{@inheritdoc}

Details

at line 48
__construct(GraphService $o365_graph, RequestStack $requestStack, O365ProfileGetDataService $profileInfo)

Constructs a new TeamsGroup object.

Parameters

GraphService $o365_graph

The GraphService definition.

RequestStack $requestStack

The RequestStack definition.

O365ProfileGetDataService $profileInfo

The O365ProfileGetDataService definition.

at line 64
array build()

Builds the response.

Return Value

array

at line 57
static create(ContainerInterface $container)

{@inheritdoc}

Parameters

ContainerInterface $container