| 1 | <?php |
||
| 18 | class SSLCertificate implements CredentialsInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Provider certificate |
||
| 22 | * |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | private $certificate; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Certificate pass phrase |
||
| 29 | * |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | private $certificatePassPhrase; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public function getCertificate() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | public function getCertificatePassPhrase() |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param string $certificate |
||
| 52 | * @return $this |
||
| 53 | */ |
||
| 54 | public function setCertificate($certificate) |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param string $certificatePassPhrase |
||
| 63 | * @return $this |
||
| 64 | */ |
||
| 65 | public function setCertificatePassPhrase($certificatePassPhrase) |
||
| 71 | } |
||
| 72 |
Very long variable names usually make code harder to read. It is therefore recommended not to make variable names too verbose.