Metaregistrar\EPP\eppDeleteDomainRequest::__construct PHP Метод

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

public __construct ( eppDomain $deleteinfo, $namespacesinroot = true )
$deleteinfo eppDomain
    function __construct(eppDomain $deleteinfo, $namespacesinroot = true)
    {
        $this->setNamespacesinroot($namespacesinroot);
        parent::__construct(eppRequest::TYPE_DELETE);
        if ($deleteinfo instanceof eppDomain) {
            $this->setDomain($deleteinfo);
        } else {
            throw new eppException('parameter of eppDeleteDomainRequest must be eppDomain object');
        }
        $this->addSessionId();
    }