src/SiteConfig/ConfigBuilder.php
public function getCachedVersion($key)
    {
        $key = strtolower($key);
        if ('www.' === substr($key, 0, 4)) {
            $key = substr($key, 4);
        }

        if (\array_key_exists($key, $this->cache)) {
            return $this->cache[$key];
        }

        return false;
    }
public function getCachedVersion($key)
    {
        $key = strtolower($key);
        if ('www.' === substr($key, 0, 4)) {
            $key = substr($key, 4);
        }

        if (\array_key_exists($key, $this->cache)) {
            return $this->cache[$key];
        }

        return false;
    }
public function getCachedVersion ( $ key ) { $ key = strtolower ( $ key ) ; if ( 'www.' === substr ( $ key , 0 , 4 ) ) { $ key = substr ( $ key , 4 ) ; } if ( \ array_key_exists ( $ key , $ this -> cache ) ) { return $ this -> cache [ $ key ] ; } return false ; }
Determine if a Config is already cached.
If so, return it otherwise return false.

@param string $key Key for the cache

@return false|SiteConfig
Determine if a Config is already cached . If so return it otherwise return false .