1 | <?php |
||
12 | class CertificatesManager |
||
13 | { |
||
14 | /** |
||
15 | * Initialize new create certificate command. |
||
16 | * |
||
17 | * @param string $domain |
||
18 | * |
||
19 | * @return \Laravel\Forge\Certificates\Commands\CreateCertificateCommand |
||
20 | */ |
||
21 | public function create(string $domain) |
||
27 | |||
28 | /** |
||
29 | * Initialize new install certificate command. |
||
30 | * |
||
31 | * @param string $privateKey |
||
32 | * @param string $certificate |
||
33 | * |
||
34 | * @return \Laravel\Forge\Certificates\Commands\InstallCertificateCommand |
||
35 | */ |
||
36 | public function install(string $privateKey, string $certificate) |
||
43 | |||
44 | /** |
||
45 | * Initialize new clone certificate command. |
||
46 | * |
||
47 | * @param int $certificateId |
||
48 | * |
||
49 | * @return \Laravel\Forge\Certificates\Commands\CloneCertificateCommand |
||
50 | */ |
||
51 | public function clone(int $certificateId) |
||
57 | |||
58 | /** |
||
59 | * Initialize new obtain Let's Encrypt certificate command. |
||
60 | * |
||
61 | * @param string|array $domains |
||
62 | * |
||
63 | * @return \Laravel\Forge\Certificates\Commands\ObtainLetsEncryptCertificateCommand |
||
64 | */ |
||
65 | public function obtain($domains) |
||
70 | |||
71 | /** |
||
72 | * Initialize new list certificates command. |
||
73 | * |
||
74 | * @return \Laravel\Forge\Certificates\Commands\ListCertificatesCommand |
||
75 | */ |
||
76 | public function list() |
||
80 | |||
81 | /** |
||
82 | * Initialize new get certificate command. |
||
83 | * |
||
84 | * @param int $certificateId |
||
85 | * |
||
86 | * @return \Laravel\Forge\Certificates\Commands\GetCertificateCommand |
||
87 | */ |
||
88 | public function get(int $certificateId) |
||
92 | } |
||
93 |