public function __construct(SocketTransport $_transport) { $this->_transport = $_transport; $this->_socket = $_transport->getSocket(); $this->_callback = function () { }; }