[ https://issues.apache.org/jira/browse/THRIFT-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449112#comment-13449112 ]
Hudson commented on THRIFT-1615: -------------------------------- Integrated in Thrift #524 (See [https://builds.apache.org/job/Thrift/524/]) THRIFT-1615 cleanup: remove empty stuff (Revision 1381333) THRIFT-1615 PHP Namespace (was Thrift for Symfony 2) Patch: Xavier HAUSHERR (Revision 1381323) Result = SUCCESS roger : http://svn.apache.org/viewvc/?view=rev&rev=1381333 Files : * /thrift/trunk/lib/php/src/protocol * /thrift/trunk/lib/php/src/server * /thrift/trunk/lib/php/src/transport roger : http://svn.apache.org/viewvc/?view=rev&rev=1381323 Files : * /thrift/trunk/compiler/cpp/src/generate/t_php_generator.cc * /thrift/trunk/lib/php/Makefile.am * /thrift/trunk/lib/php/README * /thrift/trunk/lib/php/README.apache * /thrift/trunk/lib/php/lib * /thrift/trunk/lib/php/lib/Thrift * /thrift/trunk/lib/php/lib/Thrift/Base * /thrift/trunk/lib/php/lib/Thrift/Base/TBase.php * /thrift/trunk/lib/php/lib/Thrift/ClassLoader * /thrift/trunk/lib/php/lib/Thrift/ClassLoader/ThriftClassLoader.php * /thrift/trunk/lib/php/lib/Thrift/Exception * /thrift/trunk/lib/php/lib/Thrift/Exception/TApplicationException.php * /thrift/trunk/lib/php/lib/Thrift/Exception/TException.php * /thrift/trunk/lib/php/lib/Thrift/Exception/TProtocolException.php * /thrift/trunk/lib/php/lib/Thrift/Exception/TTransportException.php * /thrift/trunk/lib/php/lib/Thrift/Factory * /thrift/trunk/lib/php/lib/Thrift/Factory/TBinaryProtocolFactory.php * /thrift/trunk/lib/php/lib/Thrift/Factory/TCompactProtocolFactory.php * /thrift/trunk/lib/php/lib/Thrift/Factory/TJSONProtocolFactory.php * /thrift/trunk/lib/php/lib/Thrift/Factory/TProtocolFactory.php * /thrift/trunk/lib/php/lib/Thrift/Factory/TStringFuncFactory.php * /thrift/trunk/lib/php/lib/Thrift/Factory/TTransportFactory.php * /thrift/trunk/lib/php/lib/Thrift/Protocol * /thrift/trunk/lib/php/lib/Thrift/Protocol/JSON * /thrift/trunk/lib/php/lib/Thrift/Protocol/JSON/BaseContext.php * /thrift/trunk/lib/php/lib/Thrift/Protocol/JSON/ListContext.php * /thrift/trunk/lib/php/lib/Thrift/Protocol/JSON/LookaheadReader.php * /thrift/trunk/lib/php/lib/Thrift/Protocol/JSON/PairContext.php * /thrift/trunk/lib/php/lib/Thrift/Protocol/TBinaryProtocol.php * /thrift/trunk/lib/php/lib/Thrift/Protocol/TBinaryProtocolAccelerated.php * /thrift/trunk/lib/php/lib/Thrift/Protocol/TCompactProtocol.php * /thrift/trunk/lib/php/lib/Thrift/Protocol/TJSONProtocol.php * /thrift/trunk/lib/php/lib/Thrift/Protocol/TProtocol.php * /thrift/trunk/lib/php/lib/Thrift/Serializer * /thrift/trunk/lib/php/lib/Thrift/Serializer/TBinarySerializer.php * /thrift/trunk/lib/php/lib/Thrift/Server * /thrift/trunk/lib/php/lib/Thrift/Server/TForkingServer.php * /thrift/trunk/lib/php/lib/Thrift/Server/TServer.php * /thrift/trunk/lib/php/lib/Thrift/Server/TServerSocket.php * /thrift/trunk/lib/php/lib/Thrift/Server/TServerTransport.php * /thrift/trunk/lib/php/lib/Thrift/Server/TSimpleServer.php * /thrift/trunk/lib/php/lib/Thrift/StringFunc * /thrift/trunk/lib/php/lib/Thrift/StringFunc/Core.php * /thrift/trunk/lib/php/lib/Thrift/StringFunc/Mbstring.php * /thrift/trunk/lib/php/lib/Thrift/StringFunc/TStringFunc.php * /thrift/trunk/lib/php/lib/Thrift/Transport * /thrift/trunk/lib/php/lib/Thrift/Transport/TBufferedTransport.php * /thrift/trunk/lib/php/lib/Thrift/Transport/TFramedTransport.php * /thrift/trunk/lib/php/lib/Thrift/Transport/THttpClient.php * /thrift/trunk/lib/php/lib/Thrift/Transport/TMemoryBuffer.php * /thrift/trunk/lib/php/lib/Thrift/Transport/TNullTransport.php * /thrift/trunk/lib/php/lib/Thrift/Transport/TPhpStream.php * /thrift/trunk/lib/php/lib/Thrift/Transport/TSocket.php * /thrift/trunk/lib/php/lib/Thrift/Transport/TSocketPool.php * /thrift/trunk/lib/php/lib/Thrift/Transport/TTransport.php * /thrift/trunk/lib/php/lib/Thrift/Type * /thrift/trunk/lib/php/lib/Thrift/Type/TMessageType.php * /thrift/trunk/lib/php/lib/Thrift/Type/TType.php * /thrift/trunk/lib/php/src/protocol/TBinaryProtocol.php * /thrift/trunk/lib/php/src/protocol/TBinarySerializer.php * /thrift/trunk/lib/php/src/protocol/TCompactProtocol.php * /thrift/trunk/lib/php/src/protocol/TJSONProtocol.php * /thrift/trunk/lib/php/src/protocol/TProtocol.php * /thrift/trunk/lib/php/src/server/TForkingServer.php * /thrift/trunk/lib/php/src/server/TServer.php * /thrift/trunk/lib/php/src/server/TSimpleServer.php * /thrift/trunk/lib/php/src/transport/TBufferedTransport.php * /thrift/trunk/lib/php/src/transport/TFramedTransport.php * /thrift/trunk/lib/php/src/transport/THttpClient.php * /thrift/trunk/lib/php/src/transport/TMemoryBuffer.php * /thrift/trunk/lib/php/src/transport/TNullTransport.php * /thrift/trunk/lib/php/src/transport/TPhpStream.php * /thrift/trunk/lib/php/src/transport/TServerSocket.php * /thrift/trunk/lib/php/src/transport/TServerTransport.php * /thrift/trunk/lib/php/src/transport/TSocket.php * /thrift/trunk/lib/php/src/transport/TSocketPool.php * /thrift/trunk/lib/php/src/transport/TTransport.php * /thrift/trunk/lib/php/src/transport/TTransportFactory.php * /thrift/trunk/lib/php/test/Makefile.am * /thrift/trunk/lib/php/test/Test * /thrift/trunk/lib/php/test/Test/Thrift * /thrift/trunk/lib/php/test/Test/Thrift/Fixtures.php * /thrift/trunk/lib/php/test/Test/Thrift/Protocol * /thrift/trunk/lib/php/test/Test/Thrift/Protocol/TestTJSONProtocol.php * /thrift/trunk/test/php/TestClient.php * /thrift/trunk/tutorial/php/PhpClient.php * /thrift/trunk/tutorial/php/PhpServer.php > PHP Namespace > ------------- > > Key: THRIFT-1615 > URL: https://issues.apache.org/jira/browse/THRIFT-1615 > Project: Thrift > Issue Type: Improvement > Components: PHP - Compiler, PHP - Library > Affects Versions: 0.8, 0.9 > Reporter: Xavier HAUSHERR > Assignee: Roger Meier > Labels: improvement, php, symfony2 > Fix For: 0.9 > > Attachments: namespace.patch, thrift-0.8.x-phpsf2.patch, > thrift-2012-09-05.patch, thrift.patch, thrift-trunk-phpsf2.patch > > > Hi, > In order to use Thrift with the Framework Symfony 2 and its great > ClassLoader, I have: > namespaced your PHP Lib (phpsf2) > added an option sf2 to the PHP compiler. The main differences, are the use of > namespace, and remove your autloader. > I have done this in the 0.8x branch (stable version) and in your trunk. > I use it with a Symfony bundle I create to have a cool integration in Symfony > 2. Here is the git: g...@github.com:ebuzzing/OverblogThriftBundle.git > Feel free to send me any question, any feedback on my pull request. > Best regards. > Xavier HAUSHERR > Overblog CTO > @xkobal -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira