PHP Class Kelunik\Acme\Registration

Author: Niklas Keller ([email protected])
Datei anzeigen Open project: kelunik/acme Class Usage Examples

Public Methods

Method 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 method

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 method

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

getAuthorizations() public method

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

getCertificates() public method

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

getContact() public method

Gets the contact addresses.
public getContact ( ) : array
return array contacts registered with the server

getLocation() public method

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