blob: 70887a3f80b03215b36c40c0cee927cf5b68481c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Share\Events;
use OCP\EventDispatcher\Event;
use OCP\Share\IShare;
/**
* @since 21.0.0
*/
class ShareDeletedEvent extends Event {
/** @var IShare */
private $share;
/**
*
* @param IShare $share
* @param IShare[] $children
*
* @since 21.0.0
*/
public function __construct(IShare $share) {
parent::__construct();
$this->share = $share;
}
/**
* @return IShare
* @since 21.0.0
*/
public function getShare(): IShare {
return $this->share;
}
}
|