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

        return isset($this->typeCache[$cacheId]) ? $this->typeCache[$cacheId] : null;
    }
protected function getFromCache($rootObject, $path)
    {
        $cacheId = $this->cacheId($rootObject, $path);

        return isset($this->typeCache[$cacheId]) ? $this->typeCache[$cacheId] : null;
    }
protected function getFromCache ( $ rootObject , $ path ) { $ cacheId = $ this -> cacheId ( $ rootObject , $ path ) ; return isset ( $ this -> typeCache [ $ cacheId ] ) ? $ this -> typeCache [ $ cacheId ] : null ; }
Get a type from cache.

@param object $rootObject
@param string $path

@return string
Get a type from cache .