PHP 클래스 Kelunik\Acme\Registration

저자: Niklas Keller ([email protected])
파일 보기 프로젝트 열기: kelunik/acme 1 사용 예제들

공개 메소드들

메소드 설명
__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