PHP Class Kelunik\Acme\Registration

Author: Niklas Keller ([email protected])
Afficher le fichier Open project: kelunik/acme Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $location, array $contact = [], string | null $agreement = null, string $authorizations = null, string $certificates = null ) Registration constructor.
getAgreement ( ) : null | string Gets the agreement URI.
getAuthorizations ( ) : null | string Gets the authorizations URI.
getCertificates ( ) : null | string Gets the certificates URI.
getContact ( ) : array Gets the contact addresses.
getLocation ( ) : string Gets the location URI.

Method Details

__construct() public méthode

Registration constructor.
public __construct ( string $location, array $contact = [], string | null $agreement = null, string $authorizations = null, string $certificates = null )
$location string URI of the registration object
$contact array all contacts registered with the server
$agreement string | null URI to the agreement, if agreed
$authorizations string URI to retrieve authorizations
$certificates string URI to retrieve certificates

getAgreement() public méthode

Gets the agreement URI.
public getAgreement ( ) : null | string
Résultat null | string URI to the agreement, if agreed, otherwise null

getAuthorizations() public méthode

Gets the authorizations URI.
public getAuthorizations ( ) : null | string
Résultat null | string URI to retrieve authorizations or null

getCertificates() public méthode

Gets the certificates URI.
public getCertificates ( ) : null | string
Résultat null | string URI to retrieve certficates or null

getContact() public méthode

Gets the contact addresses.
public getContact ( ) : array
Résultat array contacts registered with the server

getLocation() public méthode

Gets the location URI.
public getLocation ( ) : string
Résultat string URI to retrieve this registration object