src/Detail/VarCrypt/MultiEncryptor.php
public function encode($values)
    {
        $json = json_encode($values);

        $this->handleJsonError('Failed to encode group values to JSON');

        return parent::encode($json);
    }
public function encode($values)
    {
        $json = json_encode($values);

        $this->handleJsonError('Failed to encode group values to JSON');

        return parent::encode($json);
    }
public function encode ( $ values ) { $ json = json_encode ( $ values ) ; $ this -> handleJsonError ( 'Failed to encode group values to JSON' ) ; return parent :: encode ( $ json ) ; }
Encrypt and encode group values.

@param array $values
@return string
Encrypt and encode group values .