Hangup extends Node
Table of Contents
Methods
- __construct() : mixed
- getFirstAction() : Action|false
- Should return action for this stage of the call, or false if call execution should be passed to the next action.
- getId() : int
- getNext() : Node
- getNextAction() : Action|false
- Should return action for this stage of the call, or false if call execution should be passed to the next action.
- insertAfter() : mixed
- Inserts new next node between this and current next node.
- setNext() : mixed
Methods
__construct()
public
__construct(mixed $code, mixed $reason) : mixed
Parameters
- $code : mixed
- $reason : mixed
getFirstAction()
Should return action for this stage of the call, or false if call execution should be passed to the next action.
public
getFirstAction(Call $call) : Action|false
Parameters
- $call : Call
Return values
Action|falsegetId()
public
getId() : int
Return values
intgetNext()
public
getNext() : Node
Return values
NodegetNextAction()
Should return action for this stage of the call, or false if call execution should be passed to the next action.
public
getNextAction(Call $call[, array<string|int, mixed> $request = [] ]) : Action|false
Parameters
- $call : Call
- $request : array<string|int, mixed> = []
Return values
Action|falseinsertAfter()
Inserts new next node between this and current next node.
public
insertAfter(Node $next) : mixed
Parameters
- $next : Node
setNext()
public
setNext(Node $next) : mixed
Parameters
- $next : Node