Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | class MakeUserException extends InvalidArgumentException |
||
8 | { |
||
9 | /** |
||
10 | * The supplied email is invalid. |
||
11 | * |
||
12 | * @param string $email |
||
13 | * @return \Dyrynda\Artisan\Exceptions\MakeUserException |
||
14 | */ |
||
15 | public static function invalidEmail($email) |
||
16 | { |
||
17 | return new static("The email address [{$email}] is invalid"); |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * The supplied email already exists. |
||
22 | * |
||
23 | * @param string $email |
||
24 | * @return \Dyrynda\Artisan\Exceptions\MakeUserException |
||
25 | */ |
||
26 | public static function emailExists($email) |
||
29 | } |
||
30 | } |
||
31 |