MAKS\AmqpAgent\Config::setConfigPath
Sets the path of the configuration file and rebuilds the internal state of the object.
Signature
public function setConfigPath(string
$configPath )
Parameters
$configPath
—
string
Returns
- Config
Errors/Exceptions
-
ConfigFileNotFoundException
Test Coverage
Information
- Coverage: 8/8 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — MAKS\AmqpAgent\Tests\ConfigTest::testConfigFileNotFoundExceptionIsRaisedViaSetConfigPath
- [ PASSED ] — MAKS\AmqpAgent\Tests\ConfigTest::testSetConfigPathSetsANewPathAndRebuildsTheConfigObject