[ 
https://issues.apache.org/jira/browse/THRIFT-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Darius Staisiunas updated THRIFT-1241:
--------------------------------------

    Attachment: php_namespace_0.7.0.patch

enables namespace php support

> 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
>              Labels: patch
>             Fix For: 0.7
>
>         Attachments: php_namespace_0.7.0.patch
>
>
> 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

        

Reply via email to