public function visit(Visitor $visitor, Generator $generator, $data)
{
$restContentType = $data->contentType;
parent::visit($visitor, $generator, $restContentType);
$visitor->setHeader('Location', $this->router->generate('ezpublish_rest_loadContentType' . $this->getUrlTypeSuffix($restContentType->contentType->status), array('contentTypeId' => $restContentType->contentType->id)));
$visitor->setStatus(201);
}