public function addToIncluded(ResourceObjectInterface $resource)
{
$idx = $resource->getId();
$type = $resource->getType();
if (isset($this->hasBeenMetAlready[$type][$idx]) === false) {
$this->bufferForIncluded[$type][$idx] = $this->presenter->convertIncludedResourceToArray($resource);
$this->hasBeenMetAlready[$type][$idx] = true;
}
}