function __construct($createinfo, $forcehostattr = false, $namespacesinroot = true)
{
$this->setNamespacesinroot($namespacesinroot);
$this->setForcehostattr($forcehostattr);
parent::__construct(eppRequest::TYPE_CREATE);
if ($createinfo instanceof eppDomain) {
$this->setDomain($createinfo);
} else {
throw new eppException('createinfo must be of type eppDomain on eppCreateDomainRequest');
}
$this->addSessionId();
}