lib/Minify/SourceSet.php
public static function getDigest($sources)
    {
        $info = array();
        foreach ($sources as $source) {
            $info[] = array(
                $source->getId(), $source->getMinifier(), $source->getMinifierOptions()
            );
        }

        return md5(serialize($info));
    }
public static function getDigest($sources)
    {
        $info = array();
        foreach ($sources as $source) {
            $info[] = array(
                $source->getId(), $source->getMinifier(), $source->getMinifierOptions()
            );
        }

        return md5(serialize($info));
    }
public static function getDigest ( $ sources ) { $ info = array ( ) ; foreach ( $ sources as $ source ) { $ info [ ] = array ( $ source -> getId ( ) , $ source -> getMinifier ( ) , $ source -> getMinifierOptions ( ) ) ; } return md5 ( serialize ( $ info ) ) ; }
Get unique string for a set of sources

@param Minify_SourceInterface[] $sources Minify_Source instances

@return string
Get unique string for a set of sources