19declare(strict_types=1);
withClosedCallable(\Closure $handle_closed)
Set the callable to be executed, when this specific item is closed by clicking the X button or after ...
hasVanishedAction()
Get whether there are any callables to be executed the Toast has vanished.
hasClosedAction()
Get whether there are any callables to be executed the Toast is closed.
getVanishedAction()
Get the callable to be executed, when this specific item has vanished.
withDescription(string $description)
withVanishedCallable(\Closure $handle_vanished)
Set the callable to be executed, when this specific item is closed vanishing.
getShownAction()
Get the callable to be executed, when the test is shown in GUI.
getClosedAction()
Get the callable to be executed, when this specific item is closed.
withShownCallable(\Closure $handle_shown)
Set the callable to be executed, when the toast is shown.
getAdditionalToastActions()
withAdditionToastAction(ToastAction $action)
A ToastAction leads into the rendered toast to a link that can be clicked by the user.
This describes how an icon could be modified during construction of UI.