MAKS\AmqpAgent\Worker\Consumer::isConsuming
Checks whether the default channel is consuming.
Signature
public function isConsuming([AMQPChannel
$_channel = NULL] )
Parameters
$_channel
—
MAKS\AmqpAgent\Worker\AMQPChannel|null
- [optional] The channel that should be used instead of the default worker's channel.
Returns
- bool
Defined by Interface
ConsumerInterface
Test Coverage
Information
- Coverage: 2/2 Lines (100%)
- Tests: 1
- Passed: 1 (100%)
Tests
- [ PASSED ] — MAKS\AmqpAgent\Tests\Worker\ConsumerTest::testIsConsumingReturnsFalseWhenCalledOnAnIdleChannel