private static function getCache($key)
    {
        if (!self::hasCache($key)) {
            throw new \OutOfBoundsException(sprintf('Unknown cache key: "%s".', $key));
        }

        return self::$cache[$key];
    }
private static function getCache($key)
    {
        if (!self::hasCache($key)) {
            throw new \OutOfBoundsException(sprintf('Unknown cache key: "%s".', $key));
        }

        return self::$cache[$key];
    }
private static function getCache ( $ key ) { if ( ! self :: hasCache ( $ key ) ) { throw new \ OutOfBoundsException ( sprintf ( 'Unknown cache key: "%s".' , $ key ) ) ; } return self :: $ cache [ $ key ] ; }
Get cache value for given key.

@param string $key item key

@return Tokens
Get cache value for given key .