public static function fromEndpoint(Endpoint $endpoint)
    {
        return static::generateKey(strtolower($endpoint->getRegion()->getDomain()).$endpoint->getUrl());
    }
public static function fromEndpoint(Endpoint $endpoint)
    {
        return static::generateKey(strtolower($endpoint->getRegion()->getDomain()).$endpoint->getUrl());
    }
public static function fromEndpoint ( Endpoint $ endpoint ) { return static :: generateKey ( strtolower ( $ endpoint -> getRegion ( ) -> getDomain ( ) ) . $ endpoint -> getUrl ( ) ) ; }
Generate cache key from an Endpoint.

@param Endpoint $endpoint

@return string
Generate cache key from an Endpoint .