mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59:44 +00:00
Merge branch 'master' of https://github.com/pmmp/pocketmine-mp into master
This commit is contained in:
commit
42b184c113
@ -24,7 +24,11 @@ declare(strict_types=1);
|
||||
namespace pocketmine\event;
|
||||
|
||||
/**
|
||||
* This trait implements Cancellable components for events.
|
||||
* This trait provides a basic boolean-setter-style implementation for `Cancellable` to reduce boilerplate.
|
||||
* The precise meaning of `setCancelled` is subject to definition by the class using this trait.
|
||||
*
|
||||
* Implementors of `Cancellable` are not required to use this trait.
|
||||
*
|
||||
* @see Cancellable
|
||||
*/
|
||||
trait CancellableTrait{
|
||||
|
Loading…
x
Reference in New Issue
Block a user