\Thrift\FactoryTProtocolFactory

Protocol factory creates protocol objects from transports

Summary

Methods
Constants
getProtocol()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getProtocol()

getProtocol(  $trans) : \Thrift\Factory\Thrift\Protocol\TProtocol

Build a protocol from the base transport

Parameters

$trans

Returns

\Thrift\Factory\Thrift\Protocol\TProtocol —

protocol