getProtocol()
getProtocol( $trans) : \Thrift\Factory\Thrift\Protocol\TProtocol
Build a protocol from the base transport
Parameters
| $trans |
Returns
\Thrift\Factory\Thrift\Protocol\TProtocol —protocol
Protocol factory creates protocol objects from transports