1 | <?php |
||
5 | class CreateSiteCommand extends SiteCommand |
||
6 | { |
||
7 | /** |
||
8 | * Set domain name. |
||
9 | * |
||
10 | * @param string $domain |
||
11 | * |
||
12 | * @return static |
||
13 | */ |
||
14 | public function identifiedAs(string $domain) |
||
18 | |||
19 | /** |
||
20 | * Indicates that site will be created as General PHP/Laravel Application. |
||
21 | * |
||
22 | * @return static |
||
23 | */ |
||
24 | public function asPhp() |
||
28 | |||
29 | /** |
||
30 | * Identifies which web directory the public app will reside at |
||
31 | * |
||
32 | * @param string $directory |
||
33 | * |
||
34 | * @return static |
||
35 | */ |
||
36 | public function withDirectory(string $directory) |
||
40 | |||
41 | /** |
||
42 | * Indicates that site will be created as Static HTML site. |
||
43 | * |
||
44 | * @return static |
||
45 | */ |
||
46 | public function asStatic() |
||
50 | |||
51 | /** |
||
52 | * Indicates that site will be created as Symfony Application. |
||
53 | * |
||
54 | * @return static |
||
55 | */ |
||
56 | public function asSymfony() |
||
60 | |||
61 | /** |
||
62 | * Indicates that site will be created as Symfony (Dev) Application. |
||
63 | * |
||
64 | * @return static |
||
65 | */ |
||
66 | public function asSymfonyDev() |
||
70 | |||
71 | /** |
||
72 | * Alias for "asPhp" method. |
||
73 | * |
||
74 | * @return static |
||
75 | */ |
||
76 | public function asLaravel() |
||
80 | |||
81 | /** |
||
82 | * Alias for "asPhp" method. |
||
83 | * |
||
84 | * @return static |
||
85 | */ |
||
86 | public function asGeneralPhp() |
||
90 | |||
91 | /** |
||
92 | * Alias for "asStatic" method. |
||
93 | * |
||
94 | * @return static |
||
95 | */ |
||
96 | public function asHtml() |
||
100 | } |
||
101 |