protected function processSingleIdentifierRelationship($source, DocumentHydrator $hydrator): SingleIdentifierRelationship
    {
        $identifier   = $this->createResourceIdentifier($source->data, $hydrator);
        $relationship = new SingleIdentifierRelationship($identifier);

        $hydrator->hydrateObject($relationship, $source);

        return $relationship;
    }