MAKS\AmqpAgent\Worker\AbstractWorker::reconnect
Executes `self::disconnect()` and `self::connect()` respectively. Note that this method will not restore old channels.
Signature
public function reconnect()
Returns
- AbstractWorker
Defined by Interface
Test Coverage
Information
- Coverage: 3/3 Lines (100%)
- Tests: 1
- Passed: 1 (100%)
Tests
- [ PASSED ] — MAKS\AmqpAgent\Tests\Worker\AbstractWorkerTest::testReconnectRepopulatesClassPropertiesAndReturnsSelf