src/Cerad/Bundle/AppBundle/Doctrine/Repository/AbstractRepository.php
/* ====================================================
     * Hashes up array values
     * Keep for now but it really should only be used by the sync routines
     */
Hashes up array values
Keep for now but it really should only be used by the sync routines
Hashes up array values Keep for now but it really should only be used by the sync routines
public function hash($value)
    {
        die('abstract hash');
        if (is_array($value))
        {
            $array = $value;
            $value = null;
            array_walk($array, function($val) use (&$value) { $value .= trim($val); });
        }
        $value = strtoupper(str_replace(array(' ','~','-',"'"),'',$value));
        return $value;
    }
public function hash ( $ value ) { die ( 'abstract hash' ) ; if ( is_array ( $ value ) ) { $ array = $ value ; $ value = null ; array_walk ( $ array , function ( $ val ) use ( & $ value ) { $ value .= trim ( $ val ) ; } ) ; } $ value = strtoupper ( str_replace ( array ( ' ' , '~' , '-' , " ' " ) , '' , $ value ) ) ; return $ value ; }
Hashes up array values
 Keep for now but it really should only be used by the sync routines
Hashes up array values Keep for now but it really should only be used by the sync routines
// Trim and cat