Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
From d1fed17d046a30d4e98ee60d478d392af544fa0e Mon Sep 17 00:00:00 2001
From: Thomas Kho <tkho@fb.com>
Date: Mon, 26 Apr 2010 21:13:29 +0000
Subject: [PATCH 6/9] Thrift/PHP: Allow non-array (object) containers
Summary:
When writing out a Thrift struct, allow container fields to be
objects that implement Iterator and Countable, in addition to plain
arrays.
Test Plan:
Built a facebook project and tested serializing objects
Revert Plan:
OK
—
compiler/cpp/src/generate/t_php_generator.cc | 22 ++++++++++++++--------
1 files changed, 14 insertions, 8 deletions