php namespace generation ------------------------ Key: THRIFT-1241 URL: https://issues.apache.org/jira/browse/THRIFT-1241 Project: Thrift Issue Type: Improvement Components: PHP - Compiler Affects Versions: 0.7 Environment: PHP 5.3 Reporter: Darius Staisiunas Fix For: 0.7
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 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira