Silencer
class Silencer implements SilencerInterface
Implementation for entering and exiting silenced error environment.
This is based heavily on Composer's Silencer utility class, which can be found at https://github.com/composer/composer/blob/master/src/Composer/Util/Silencer.php
Methods
static
int
silence(
int $mask = self::DEFAULT_MASK)
Enter silenced state.
static
int
restore()
Exit silenced state.
static
bool|int
isSilenced()
Returns true if silenced to default mask.
static
bool
hasPriorReportingLevels()
Returns true if prior restore state exists.
Details
at line line 36
static
int
silence(
int $mask = self::DEFAULT_MASK)
Enter silenced state.
at line line 53
static
int
restore()
Exit silenced state.
at line line 70
static
bool|int
isSilenced()
Returns true if silenced to default mask.
at line line 86
static
bool
hasPriorReportingLevels()
Returns true if prior restore state exists.