0 follower

Final Class Yiisoft\Queue\Debug\QueueProviderInterfaceProxy

InheritanceYiisoft\Queue\Debug\QueueProviderInterfaceProxy
ImplementsYiisoft\Queue\Provider\QueueProviderInterface

Method Details

Hide inherited methods

__construct() public method

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,
) {
}

            
get() public method

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);
}

            
has() public method

public boolean has ( string|\BackedEnum $channel )
$channel string|\BackedEnum

                public function has(string|BackedEnum $channel): bool
{
    return $this->queueProvider->has($channel);
}