protected function createSignatureMethod(array $signatureMethodConfig)
    {
        if (!array_key_exists('class', $signatureMethodConfig)) {
            $signatureMethodConfig['class'] = signature\HmacSha1::className();
        }
        return Yii::createObject($signatureMethodConfig);
    }
protected function createSignatureMethod(array $signatureMethodConfig)
    {
        if (!array_key_exists('class', $signatureMethodConfig)) {
            $signatureMethodConfig['class'] = signature\HmacSha1::className();
        }
        return Yii::createObject($signatureMethodConfig);
    }
protected function createSignatureMethod ( array $ signatureMethodConfig ) { if ( ! array_key_exists ( 'class' , $ signatureMethodConfig ) ) { $ signatureMethodConfig [ 'class' ] = signature \ HmacSha1 :: className ( ) ; } return Yii :: createObject ( $ signatureMethodConfig ) ; }
Creates signature method instance from its configuration.
@param array $signatureMethodConfig signature method configuration.
@return signature\BaseMethod signature method instance.
Creates signature method instance from its configuration .