mirror of
https://github.com/openvk/chandler.git
synced 2025-03-31 21:43:59 +03:00
Reformatting the Cancelable interface.
This commit is contained in:
parent
f75754f341
commit
d7d97fc4bf
1 changed files with 9 additions and 3 deletions
|
@ -1,11 +1,17 @@
|
||||||
<?php declare(strict_types=1);
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types = 1);
|
||||||
|
|
||||||
namespace Chandler\Eventing\Events;
|
namespace Chandler\Eventing\Events;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package Chandler\Eventing\Events
|
||||||
|
*/
|
||||||
interface Cancelable
|
interface Cancelable
|
||||||
{
|
{
|
||||||
protected $cancelled;
|
protected $cancelled;
|
||||||
|
|
||||||
function cancel(): void;
|
function cancel(): void;
|
||||||
|
|
||||||
function isCancelled(): bool;
|
function isCancelled(): bool;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue