method makeHash documentation in bbn\Cache

Makes a unique hash out of whatever value which will be used to check if the value has changed.

function($value) { if (\is_object($value) || \is_array($value)) { $value = serialize($value); } return md5($value); }

Makes a unique hash out of whatever value which will be used to check if the value has changed. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.