SilencerInterface
interface SilencerInterface
Interface for entering and exiting silenced error environment.
Constants
DEFAULT_MASK |
The default silence mask to apply. |
Methods
static
int
silence(
int $mask = null)
Enter silenced state.
static
int
restore()
Exit silenced state.
static
bool|int
isSilenced()
Returns true if current state is silenced.
static
bool
hasPriorReportingLevels()
Returns true if prior restore state exists.
Details
at line line 31
static
int
silence(
int $mask = null)
Enter silenced state.
at line line 38
static
int
restore()
Exit silenced state.
at line line 45
static
bool|int
isSilenced()
Returns true if current state is silenced.
at line line 52
static
bool
hasPriorReportingLevels()
Returns true if prior restore state exists.