CancellableTrait
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.
Methods
cancel()
php
public function cancel() : voidisCancelled()
php
public function isCancelled() : booluncancel()
php
public function uncancel() : void