Menu

## SignalHandler
in package

SignalHandler.php : 23

Monolog POSIX signal handler

##### Tags

author

  Robert Gust-Bardon robert@gust-bardon.org

### Table of Contents

$logger : mixed
$previousSignalHandler : mixed
$signalLevelMap : mixed
$signalRestartSyscalls : mixed
__construct() : mixed
handleSignal() : mixed
registerSignalHandler() : mixed

### Properties

#### $logger

SignalHandler.php : 25
`private mixed $logger`

#### $previousSignalHandler

SignalHandler.php : 27
`private mixed $previousSignalHandler = array()`

#### $signalLevelMap

SignalHandler.php : 28
`private mixed $signalLevelMap = array()`

#### $signalRestartSyscalls

SignalHandler.php : 29
`private mixed $signalRestartSyscalls = array()`

### Methods

#### __construct()

SignalHandler.php : 31
`public __construct(LoggerInterface $logger) : mixed`

##### Parameters

$logger : LoggerInterface

##### Return values

mixed —

#### handleSignal()

SignalHandler.php : 67
`public handleSignal(mixed $signo[, array<string|int, mixed> $siginfo = null ]) : mixed`

##### Parameters

$signo : mixed
$siginfo : array<string|int, mixed> = null

##### Return values

mixed —

#### registerSignalHandler()

SignalHandler.php : 36
`public registerSignalHandler(mixed $signo[, mixed $level = LogLevel::CRITICAL ][, mixed $callPrevious = true ][, mixed $restartSyscalls = true ][, mixed $async = true ]) : mixed`

##### Parameters

$signo : mixed
$level : mixed = LogLevel::CRITICAL
$callPrevious : mixed = true
$restartSyscalls : mixed = true
$async : mixed = true

##### Return values

mixed —

## Search results