trait
Illuminate
/
Console
/
Concerns
/
InteractsWithSignals
InteractsWithSignals
Properties
Methods
public
trap ( $signals , $callback ) : void
Define a callback to be run when the given signal(s) occurs.
Parameters
-
$signals
iterable
|int -
$
callable
void $callback
public
untrap ( ) : void
Untrap signal handlers set within the command's handler.