MAKS\AmqpAgent\Config::get
Gets a value of a key from the configuration array via dot-notation representation.
Signature
public function get(string
$key )
Parameters
$key
—
string
- The dotted key representation.
Returns
- mixed
- The requested value or null.
Test Coverage
Information
- Coverage: 2/2 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — MAKS\AmqpAgent\Tests\ConfigTest::testGetMethodReturnsAnExpectedValues
- [ PASSED ] — MAKS\AmqpAgent\Tests\ConfigTest::testSetMethodSetsValuesAndGetMethodReturnsThem