| Total Complexity | 3 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class PasswordException extends Exception |
||
| 17 | { |
||
| 18 | public static function getWakeupException() : self |
||
| 19 | { |
||
| 20 | return new self('This object can not be deserialized'); |
||
| 21 | } |
||
| 22 | |||
| 23 | public static function getSleepException() : self |
||
| 24 | { |
||
| 25 | return new self('This object can not be serialized'); |
||
| 26 | } |
||
| 27 | |||
| 28 | public static function getCloneException() : self |
||
| 31 | } |
||
| 32 | } |
||
| 33 |