MAKS\AmqpAgent\Worker\AbstractWorkerSingleton::getInstance
Returns an instance of the class this method was called on.
Signature
public function getInstance()
Returns
- AbstractWorkerSingleton
Parent Implementation
Test Coverage
Information
- Coverage: 16/16 Lines (100%)
- Tests: 7
- Passed: 7 (100%)
Tests
- [ PASSED ] — MAKS\AmqpAgent\Tests\Worker\PublisherSingletonTest::testSingleton
- [ PASSED ] — MAKS\AmqpAgent\Tests\Worker\PublisherSingletonTest::testSingletonGetInstanceInstantiatesClassWithTheSuppliedParameters
- [ PASSED ] — MAKS\AmqpAgent\Tests\Worker\PublisherSingletonTest::testSingletonInstanceGetPropertyViaPublicAccessNotation
- [ PASSED ] — MAKS\AmqpAgent\Tests\Worker\PublisherSingletonTest::testSingletonInstanceGetPropertyViaPublicAssignmentNotation
- [ PASSED ] — MAKS\AmqpAgent\Tests\Worker\PublisherSingletonTest::testSingletonInstanceWhenCallingStaticMethod
- [ PASSED ] — MAKS\AmqpAgent\Tests\Worker\PublisherSingletonTest::testSingletonInstanceRetrievingStaticOrConstProperty
- [ PASSED ] — MAKS\AmqpAgent\Tests\Worker\ConsumerSingletonTest::testSingleton