Kelunik\Acme\Registration::__construct PHP Method

__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
    public function __construct($location, array $contact = [], $agreement = null, $authorizations = null, $certificates = null)
    {
        $this->location = $location;
        $this->contact = $contact;
        $this->agreement = $agreement;
        $this->authorizations = $authorizations;
        $this->certificates = $certificates;
    }