PHP Класс Kelunik\Acme\Registration

Автор: Niklas Keller ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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() публичный Метод

Gets the agreement URI.
public getAgreement ( ) : null | string
Результат null | string URI to the agreement, if agreed, otherwise null

getAuthorizations() публичный Метод

Gets the authorizations URI.
public getAuthorizations ( ) : null | string
Результат null | string URI to retrieve authorizations or null

getCertificates() публичный Метод

Gets the certificates URI.
public getCertificates ( ) : null | string
Результат null | string URI to retrieve certficates or null

getContact() публичный Метод

Gets the contact addresses.
public getContact ( ) : array
Результат array contacts registered with the server

getLocation() публичный Метод

Gets the location URI.
public getLocation ( ) : string
Результат string URI to retrieve this registration object