protected function getFromCache($rootObject, $path)
    {
        $cacheId = $this->cacheId($rootObject, $path);

        return isset($this->typeCache[$cacheId]) ? $this->typeCache[$cacheId] : null;
    }