protected function getResourceElementHelperForProperty($property) { $key = 'resource:builder:aux:' . $property->getKey(); if (($resourceElement = $this->inMemoryPoolCache->fetch($key)) !== false) { return $resourceElement; } $resourceElement = $this->exporter->getResourceElementForProperty($property, true); $this->inMemoryPoolCache->save($key, $resourceElement); return $resourceElement; }