Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
0.7
-
PHP 5.3
-
Patch Available
Description
Patch is based mainly on https://issues.apache.org/jira/browse/THRIFT-777, but some more improvements:
namespace can be specified with dots '.' like for every other language
for example:
namespace php com.onego.thrift
would generate in php file
namespace com\onego\thrift
to generate php files with namespaces use:
thrift --gen php:namespace53 example.thrift