public function generate($key, Context $context = null)
    {
        return md5($key.$this->serializer->serialize($context));
    }
public function generate($key, Context $context = null)
    {
        return md5($key.$this->serializer->serialize($context));
    }
public function generate ( $ key , Context $ context = null ) { return md5 ( $ key . $ this -> serializer -> serialize ( $ context ) ) ; }
Generate storage key for a given key and context.

@param string $key
@param \Krucas\Settings\Context $context
@return string
Generate storage key for a given key and context .