| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class SessionException extends BaseException |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @return SessionException |
||
| 27 | */ |
||
| 28 | public static function sessionNotStarted(): SessionException |
||
| 29 | { |
||
| 30 | return new static(t('exception.session_not_started'), E_WARNING); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return SessionException |
||
| 35 | */ |
||
| 36 | public static function sessionNotDestroyed(): SessionException |
||
| 37 | { |
||
| 38 | return new static(t('exception.session_not_destroyed'), E_WARNING); |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return SessionException |
||
| 43 | */ |
||
| 44 | public static function sessionTableNotProvided(): SessionException |
||
| 47 | } |
||
| 48 | } |