mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59:44 +00:00
Improved documentation for CancellableTrait
This commit is contained in:
parent
c20ac82fe6
commit
9d0ac297bb
@ -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