/** * Finds all open trucks that have tweeted to us and their geo coords */ public static function get_all_open_and_located_trucks() { $trucks = Trucks::get_all_located_trucks(); return array_filter($trucks, array('Trucks', 'is_open')); }