BucketCreatedEvent
extends Event
in package
Base event class for the event dispatcher service
Tags
Attributes
- #[Consumable]
- $since: '33.0.0'
Table of Contents
Properties
Methods
- __construct() : mixed
- Compatibility constructor
- getBucket() : string
- getEndpoint() : string
- getRegion() : string
- getVersion() : string
- isPropagationStopped() : bool
- {@inheritDoc}
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Properties
$bucket read-only
private
string
$bucket
$endpoint read-only
private
string
$endpoint
$region read-only
private
string
$region
$version read-only
private
string
$version
= 'latest'
Methods
__construct()
Compatibility constructor
public
__construct(string $bucket, string $endpoint, string $region[, string $version = 'latest' ]) : mixed
In Nextcloud 17.0.0 this event class used a now deprecated/removed Symfony base class that had a constructor (with default arguments). To lower the risk of a breaking change (PHP won't allow parent constructor calls if there is none), this empty constructor's only purpose is to hopefully not break existing sub- classes of this class.
Parameters
- $bucket : string
- $endpoint : string
- $region : string
- $version : string = 'latest'
getBucket()
public
getBucket() : string
Return values
stringgetEndpoint()
public
getEndpoint() : string
Return values
stringgetRegion()
public
getRegion() : string
Return values
stringgetVersion()
public
getVersion() : string
Return values
stringisPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Return values
boolstopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void