Nextcloud PHP API (master)

BeforeFileSystemSetupEvent extends Event
in package

Event triggered before the file system is set up.

Tags
since
31.0.0

Table of Contents

Properties

$storageWrappers  : array<IStorage>, array{callable: callable, priority: int<0, 100>}>
$user  : IUser

Methods

__construct()  : mixed
Compatibility constructor
addStorageWrapper()  : void
Add a storage wrapper to the file system. This allows apps to inject storage wrappers for every mount.
getStorageWrappers()  : array<IStorage>, array{callable: callable, priority: int<0, 100>}>
Get the storage wrappers.
getUser()  : IUser
isPropagationStopped()  : bool
{@inheritDoc}
stopPropagation()  : void
Stops the propagation of the event to further event listeners

Properties

$storageWrappers

private array<IStorage>, array{callable: callable, priority: int<0, 100>}> $storageWrappers = []

Methods

addStorageWrapper()

Add a storage wrapper to the file system. This allows apps to inject storage wrappers for every mount.

public addStorageWrapper(IStorage> $name, callable(string $mountPoint, IStorage $storage): IStorage $wrapper[, int<0, 100> $priority = 50 ]) : void
Parameters
$name : IStorage>

The identifier of the wrapper.

$wrapper : callable(string $mountPoint, IStorage $storage): IStorage
$priority : int<0, 100> = 50
Tags
since
35.0.0

getStorageWrappers()

Get the storage wrappers.

public getStorageWrappers() : array<IStorage>, array{callable: callable, priority: int<0, 100>}>
Tags
since
35.0.0
Return values
array<IStorage>, array{callable: callable, priority: int<0, 100>}>

isPropagationStopped()

{@inheritDoc}

public isPropagationStopped() : bool
Tags
since
22.0.0
see
StoppableEventInterface
Attributes
#[Override]
Return values
bool

stopPropagation()

Stops the propagation of the event to further event listeners

public stopPropagation() : void
Tags
since
22.0.0
On this page

Search results