Add isFinished to Envelope
This commit is contained in:
@ -23,6 +23,11 @@ final class Envelope
|
|||||||
$this->connection = $connection;
|
$this->connection = $connection;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function isFinished(): bool
|
||||||
|
{
|
||||||
|
return $this->finished;
|
||||||
|
}
|
||||||
|
|
||||||
public function finish(): void
|
public function finish(): void
|
||||||
{
|
{
|
||||||
if ($this->finished) {
|
if ($this->finished) {
|
||||||
|
Reference in New Issue
Block a user