mini\Hooks\StateMachine::onExitCurrentState()
Method
public
Signature
public function onExitCurrentState(Closure $listener): void
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$listener |
Closure |
required | Documentation missing |
Returns
void
Documentation
Register a listener that fires once when the current state exits