0 follower

Final Class Yiisoft\Yii\Debug\StartupPolicy\Debugger\CallableDebuggerPolicy

InheritanceYiisoft\Yii\Debug\StartupPolicy\Debugger\CallableDebuggerPolicy
ImplementsYiisoft\Yii\Debug\StartupPolicy\Debugger\DebuggerStartupPolicyInterface

Psalm Types

Name Value
TCallable callable

Method Details

Hide inherited methods

__construct() public method

public mixed __construct ( callable $callable )
$callable callable

                public function __construct(
    callable $callable
) {
    $this->callable = $callable;
}

            
satisfies() public method

public boolean satisfies ( object $event )
$event object

                public function satisfies(object $event): bool
{
    return ($this->callable)($event);
}