Final Class Yiisoft\Yii\Debug\StartupPolicy\Collector\CallableCollectorPolicy
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Yiisoft\ |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
|
| satisfies() | Yiisoft\ |
Method Details
| public mixed __construct ( callable $callable ) | ||
| $callable | callable | |
public function __construct(
callable $callable,
) {
$this->callable = $callable;
}
| public boolean satisfies ( Yiisoft\ | ||
| $collector | Yiisoft\ |
|
| $event | object | |
public function satisfies(CollectorInterface $collector, object $event): bool
{
return ($this->callable)($collector, $event);
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.