final class OneDriveListController extends ControllerBase

Class OndeDriveListController.

Properties

protected GetFilesAndFoldersServiceInterface $getFilesAndFoldersService

The get files and folders service.

Methods

__construct(GetFilesAndFoldersServiceInterface $getFilesAndFoldersService)

Constructs a new OneDriveListController object.

static 
create(ContainerInterface $container)

{@inheritdoc}

mixed
listFiles(bool $folder = FALSE)

Render a list of files and folders.

mixed
listSharedFiles()

Create a list of shared files and folders.

Details

at line 27
__construct(GetFilesAndFoldersServiceInterface $getFilesAndFoldersService)

Constructs a new OneDriveListController object.

Parameters

GetFilesAndFoldersServiceInterface $getFilesAndFoldersService

The GetFilesAndFoldersServiceInterface definition.

at line 34
static create(ContainerInterface $container)

{@inheritdoc}

Parameters

ContainerInterface $container

at line 51
mixed listFiles(bool $folder = FALSE)

Render a list of files and folders.

Parameters

bool $folder

The folder ID or false.

Return Value

mixed

The list of files and folders.

Exceptions

TempStoreException
IdentityProviderException
GraphException

at line 65
mixed listSharedFiles()

Create a list of shared files and folders.

Return Value

mixed

The list of files and folders.

Exceptions

TempStoreException
IdentityProviderException
GraphException