Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 4 |
| ClassConfig\Exceptions\ClassConfigNotRegisteredException | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
| __construct | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
|||
| <?php | |
| namespace ClassConfig\Exceptions; | |
| use ClassConfig\ClassConfig; | |
| /** | |
| * Class ClassConfigNotRegisteredException | |
| * @package ClassConfig\Exceptions | |
| */ | |
| class ClassConfigNotRegisteredException extends \RuntimeException | |
| { | |
| /** | |
| * ClassConfigNotRegisteredException constructor. | |
| */ | |
| public function __construct() | |
| { | |
| parent::__construct(sprintf( | |
| 'Class-config\'s environment is not registered, did you forget to call "%s"?', | |
| ClassConfig::class . '::register' | |
| )); | |
| } | |
| } |