private function getEncryptedValue(DecryptRequest $request)
    {
        if (!$request->getEncryptedValue()) {
            $plaintextValue = $request->getEncryptedQuestionAsker()->askQuestion();
        } else {
            $plaintextValue = $request->getEncryptedValue();
        }

        return $plaintextValue;
    }
private function getEncryptedValue(DecryptRequest $request)
    {
        if (!$request->getEncryptedValue()) {
            $plaintextValue = $request->getEncryptedQuestionAsker()->askQuestion();
        } else {
            $plaintextValue = $request->getEncryptedValue();
        }

        return $plaintextValue;
    }
private function getEncryptedValue ( DecryptRequest $ request ) { if ( ! $ request -> getEncryptedValue ( ) ) { $ plaintextValue = $ request -> getEncryptedQuestionAsker ( ) -> askQuestion ( ) ; } else { $ plaintextValue = $ request -> getEncryptedValue ( ) ; } return $ plaintextValue ; }
Get encrypted value.

@param DecryptRequest $request

@return string
Get encrypted value .