Documentation

SignalableCommandInterface
in

Interface for command reacting to signal.

Tags
author

Grégoire Pineau lyrixx@lyrix.info

Table of Contents

getSubscribedSignals()  : array<string|int, mixed>
Returns the list of signals to subscribe.
handleSignal()  : void
The method will be called when the application is signaled.

Methods

getSubscribedSignals()

Returns the list of signals to subscribe.

public getSubscribedSignals() : array<string|int, mixed>
Return values
array<string|int, mixed>

handleSignal()

The method will be called when the application is signaled.

public handleSignal(int $signal) : void
Parameters
$signal : int
Return values
void

Search results