| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | 3 | public function __construct($stateName, $eventName, $code = 0, \Exception $previous = null) |
|
| 28 | { |
||
| 29 | 3 | $this->stateName = $stateName; |
|
| 30 | 3 | $this->eventName = $eventName; |
|
| 31 | |||
| 32 | 3 | $message = 'Current state "' . $stateName . '" doesn\'t have event "' . $eventName . '"'; |
|
| 33 | 3 | parent::__construct($message, $code, $previous); |
|
| 34 | 3 | } |
|
| 35 | |||
| 46 |