1 | <?php |
||
7 | class WriteError extends Exception |
||
8 | { |
||
9 | /** |
||
10 | * Writing to the filesystem failed. |
||
11 | * |
||
12 | * @param string $path |
||
13 | * |
||
14 | * @return static |
||
15 | */ |
||
16 | public static function fileWriteFailed($e, $path = '') |
||
22 | |||
23 | /** |
||
24 | * Writing to the filesystem failed because the given class exists. |
||
25 | * |
||
26 | * @param string $class |
||
27 | * |
||
28 | * @return static |
||
29 | */ |
||
30 | public static function classExists($class) |
||
34 | |||
35 | /** |
||
36 | * A command with the given name already exists. |
||
37 | * |
||
38 | * @param string $name |
||
39 | * |
||
40 | * @return static |
||
41 | */ |
||
42 | public static function commandExists($name) |
||
49 | |||
50 | /** |
||
51 | * A seeder with the given name already exists. |
||
52 | * |
||
53 | * @param string $name |
||
54 | * |
||
55 | * @return static |
||
56 | */ |
||
57 | public static function seederExists($name) |
||
64 | } |
||
65 |