alexpts/php-simple-events

View on GitHub
src/StopPropagation.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
declare(strict_types=1);

namespace PTS\Events;

use Exception;

class StopPropagation extends Exception
{
    public mixed $value;

    public function setValue(mixed $value): static
    {
        $this->value = $value;
        return $this;
    }

    public function getValue()
    {
        return $this->value;
    }
}