doctrine - calculated return from entityrepository method -
was wondering if possible (or maybe not best practice) return calculated value entityrepository method, or if should doing calculation somewhere else. example.
my entity users have times (times day of week , corresponding time day of week not hard date)
looking write function returns next time specific date, example if today 2/8/16 (monday) , next "time" tuesday @ 12:00pm
want function return datetime object reflecting 2/9/16 12:00pm
Comments
Post a Comment