[ https://issues.apache.org/jira/browse/THRIFT-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Watson updated THRIFT-1378: -------------------------------- Attachment: 0006-2-Thrift-PHP-Allow-non-array-object-containers.patch > Allow non-array (object) containers > ----------------------------------- > > Key: THRIFT-1378 > URL: https://issues.apache.org/jira/browse/THRIFT-1378 > Project: Thrift > Issue Type: Improvement > Components: C++ - Library > Reporter: Dave Watson > Priority: Minor > Attachments: 0006-2-Thrift-PHP-Allow-non-array-object-containers.patch > > > From d1fed17d046a30d4e98ee60d478d392af544fa0e Mon Sep 17 00:00:00 2001 > From: Thomas Kho <t...@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(-) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira