public function withRelationshipSelfLink($resource, $relationshipName, $meta = null, $treatAsHref = false)
{
$link = $this->container->getSchema($resource)->getRelationshipSelfLink($resource, $relationshipName, $meta, $treatAsHref);
return $this->withLinks([DocumentInterface::KEYWORD_SELF => $link]);
}