src/Entity/Repository.php
/**
     * Parameters in prepared statements need to be be references rather than values, this is a nasty
     * little workaround to give them what they want
     *
     * @param $arr
     * @return array
     */
Parameters in prepared statements need to be be references rather than values, this is a nasty
little workaround to give them what they want

@param $arr
@return array
Parameters in prepared statements need to be be references rather than values this is a nasty little workaround to give them what they want @param $arr @return array
private function refValues($arr){
        $refs = array();
        foreach($arr as $key => $value)
            $refs[$key] = &$arr[$key];
        return $refs;
    }
private function refValues ( $ arr ) { $ refs = array ( ) ; foreach ( $ arr as $ key => $ value ) $ refs [ $ key ] = & $ arr [ $ key ] ; return $ refs ; }
Parameters in prepared statements need to be be references rather than values, this is a nasty
 little workaround to give them what they want
Parameters in prepared statements need to be be references rather than values this is a nasty little workaround to give them what they want