Final Class Yiisoft\Queue\Debug\QueueProviderInterfaceProxy
| Inheritance | Yiisoft\Queue\Debug\QueueProviderInterfaceProxy |
|---|---|
| Implements | Yiisoft\Queue\Provider\QueueProviderInterface |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\Queue\Debug\QueueProviderInterfaceProxy | |
| get() | Yiisoft\Queue\Debug\QueueProviderInterfaceProxy | |
| has() | Yiisoft\Queue\Debug\QueueProviderInterfaceProxy |
Method Details
| public mixed __construct ( Yiisoft\Queue\Provider\QueueProviderInterface $queueProvider, Yiisoft\Queue\Debug\QueueCollector $collector ) | ||
| $queueProvider | Yiisoft\Queue\Provider\QueueProviderInterface | |
| $collector | Yiisoft\Queue\Debug\QueueCollector | |
public function __construct(
private readonly QueueProviderInterface $queueProvider,
private readonly QueueCollector $collector,
) {
}
| public Yiisoft\Queue\QueueInterface get ( string|\BackedEnum $channel ) | ||
| $channel | string|\BackedEnum | |
public function get(string|BackedEnum $channel): QueueInterface
{
$queue = $this->queueProvider->get($channel);
return new QueueDecorator($queue, $this->collector);
}
Signup or Login in order to comment.