class FakeTransporter implements Transport

Methods

void
onReceive(Closure $handler)

Ignore handler registration for direct method tests.

void
send(string $message)

Ignore outgoing transport messages.

run()

Reject transport execution in direct method tests.

void
stream(Closure $stream)

Ignore streaming callbacks.

Details

at line 18
void onReceive(Closure $handler)

Ignore handler registration for direct method tests.

Parameters

Closure $handler

Return Value

void

at line 25
void send(string $message)

Ignore outgoing transport messages.

Parameters

string $message

Return Value

void

at line 32
run()

Reject transport execution in direct method tests.

at line 40
void stream(Closure $stream)

Ignore streaming callbacks.

Parameters

Closure $stream

Return Value

void