public function setContext(Context $context)
    {
        $this->context = $context;

        if (empty($this->parameters['secret'])) {
            $this->parameters['secret'] = $context->getSecret();
        }

        return $this;
    }
public function setContext(Context $context)
    {
        $this->context = $context;

        if (empty($this->parameters['secret'])) {
            $this->parameters['secret'] = $context->getSecret();
        }

        return $this;
    }
public function setContext ( Context $ context ) { $ this -> context = $ context ; if ( empty ( $ this -> parameters [ 'secret' ] ) ) { $ this -> parameters [ 'secret' ] = $ context -> getSecret ( ) ; } return $ this ; }
Sets the context for fingerprint calculation

@param Context $context
@return Fingerprint
Sets the context for fingerprint calculation