[
https://issues.apache.org/jira/browse/THRIFT-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roger Meier resolved THRIFT-777.
--------------------------------
Resolution: Fixed
just committed THRIFT-1241
> PHP 5.3 namespaces
> ------------------
>
> Key: THRIFT-777
> URL: https://issues.apache.org/jira/browse/THRIFT-777
> Project: Thrift
> Issue Type: New Feature
> Components: PHP - Compiler
> Reporter: Jan Dolecek
> Priority: Minor
> Labels: compiler, namespaces, php
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> I've created patch, with which you can generated namespaces as defines in
> PHP5.3, i.e. \Thrift\SharedServiceIf etc.
> With this patch, thrift php generator will recognize two new parameters:
> - namespace53 - generate namespaces as defines in PHP 5.3. Without it, it
> generates same code as before
> - nsglobal - global namespace, default is Thrift. From tutorial, it will
> create classes \Thrift\tutorial\CalculatorIf etc.
> What can I do to make it attached to trunk? Thanks for any ideas, because
> I'm very new to Thrift and also open-source development.
> Link: http://helemik.cz/juzna/opensource/php/thrift/php53.patch
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira