Conversation
in package
AbstractYes
Table of Contents
Methods
Methods
start()
public
abstract start(Thread $thread, Message $message) : void
Parameters
ask()
protected
ask(Thread $thread, string $question, string $next[, array<string|int, mixed> $data = [] ]) : AskResponse
Parameters
- $thread : Thread
- $question : string
- $next : string
- $data : array<string|int, mixed> = []
Return values
AskResponseend()
protected
end(Thread $thread) : void
Parameters
- $thread : Thread
pause()
protected
pause(string $childClass, Thread $thread, Message $message) : void
Parameters
say()
protected
say(Thread $thread, string $text) : void
Parameters
- $thread : Thread
- $text : string