src/Drivers/Database.php
/**
     * Checks if the provided key should be decrypted or not.
     * Otherwise it returns the original value.
     *
     * @param  string $key   Key to check if it's inside the encryptedValues variable.
     * @param  mixed $value  Info: Encryption only supports strings.
     *
     * @return string
     */
Checks if the provided key should be decrypted or not.
Otherwise it returns the original value.

@param  string $key   Key to check if it's inside the encryptedValues variable.
@param  mixed $value  Info: Encryption only supports strings.

@return string
Checks if the provided key should be decrypted or not . Otherwise it returns the original value . @param string $key Key to check if it ' s inside the encryptedValues variable . @param mixed $value Info : Encryption only supports strings . @return string
protected function unpackValue(string $key, $value)
    {
        if (in_array($key, $this->encryptedKeys)) {
            return Crypt::decryptString((string) $value);
        }
        return $value;
    }
protected function unpackValue ( string $ key , $ value ) { if ( in_array ( $ key , $ this -> encryptedKeys ) ) { return Crypt :: decryptString ( ( string ) $ value ) ; } return $ value ; }
Checks if the provided key should be decrypted or not.
Checks if the provided key should be decrypted or not .
// Check if key should be encrypted // Cast to string to avoid error when a user passes a boolean value