| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | final public function __construct() |
||
| 21 | { |
||
| 22 | if (!is_string(static::MANUFACTURED_CLASS_NAME)) { |
||
| 23 | throw new Exception(ErrorMessages::getMustDefineManufacturedClassNameMessage()); |
||
| 24 | } |
||
| 25 | |||
| 26 | if (!class_exists(static::MANUFACTURED_CLASS_NAME)) { |
||
| 27 | throw new Exception(ErrorMessages::getClassNotDefinedMessage(static::MANUFACTURED_CLASS_NAME)); |
||
| 28 | } |
||
| 29 | } |
||
| 30 | |||
| 42 |