| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php namespace Jarrett; |
||
| 9 | class RockPaperScissorsSpockLizardException extends Exception |
||
| 10 | { |
||
| 11 | // Redefine the exception so message isn't optional |
||
| 12 | 12 | public function __construct($message, $code = 0, Exception $previous = null) |
|
| 13 | { |
||
| 14 | // make sure everything is assigned properly |
||
| 15 | 12 | parent::__construct($message, $code, $previous); |
|
| 16 | 12 | } |
|
| 17 | |||
| 18 | // custom string representation of object |
||
| 19 | 1 | public function __toString() |
|
| 22 | } |
||
| 23 | } |
||
| 24 |