final class O365GroupsFilesController extends ControllerBase

Returns responses for Microsoft 365 - Groups routes.

Traits

StringTranslationTrait

Properties

protected DateFormatterInterface $dateFormatter

The date formatter.

protected GroupFilesService $groupFilesService

The group file service.

protected GroupsService $groupsService

The groups service.

protected MimeTypes $mimey

The mimey mimetypes.

protected Request|null $request

The current request.

Methods

__construct(DateFormatterInterface $date_formatter, RequestStack $requestStack, GroupFilesService $groupFilesService, GroupsService $groupsService)

The controller constructor.

array
build()

Builds the response.

static 
create(ContainerInterface $container)

{@inheritdoc}

TranslatableMarkup
title()

Generate the documents page title.

Details

at line 73
__construct(DateFormatterInterface $date_formatter, RequestStack $requestStack, GroupFilesService $groupFilesService, GroupsService $groupsService)

The controller constructor.

Parameters

DateFormatterInterface $date_formatter

The date formatter.

RequestStack $requestStack

The request stack.

GroupFilesService $groupFilesService

The service to generate the group files arrays.

GroupsService $groupsService

The groups service.

at line 91
array build()

Builds the response.

Return Value

array

at line 84
static create(ContainerInterface $container)

{@inheritdoc}

Parameters

ContainerInterface $container

at line 215
TranslatableMarkup title()

Generate the documents page title.

Return Value

TranslatableMarkup

The created title.