lukepolo/laracart

View on GitHub
src/LaraCartHasher.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace LukePOLO\LaraCart;

class LaraCartHasher
{
    public function hash($data)
    {
        return md5(json_encode($data));
    }
}