public function hash(array $list)
    {
        $ids = '';
        foreach ($list as $item) {
            $ids .= ':'.$item['id'];
        }
        return md5($ids);
    }
public function hash(array $list)
    {
        $ids = '';
        foreach ($list as $item) {
            $ids .= ':'.$item['id'];
        }
        return md5($ids);
    }
public function hash ( array $ list ) { $ ids = '' ; foreach ( $ list as $ item ) { $ ids .= ':' . $ item [ 'id' ] ; } return md5 ( $ ids ) ; }
Get hash from list items

@param array $list

@return string
Get hash from list items