function __construct($inforequest, $namespacesinroot = true)
{
$this->setNamespacesinroot($namespacesinroot);
parent::__construct(eppRequest::TYPE_INFO);
if ($inforequest instanceof eppContactHandle) {
$this->setContactHandle($inforequest);
} else {
throw new eppException('parameter of infocontactrequest needs to be eppContactHandle object');
}
$this->addSessionId();
}