Table of Contents
Constants
-
DEFAULT_ERROR_LEVEL
= E_USER_NOTICE
-
E_NONE
= 0
-
ERROR_LEVELS
= [self::E_NONE, E_USER_DEPRECATED, E_USER_NOTICE, E_USER_WARNING, E_USER_ERROR]
Properties
-
$errorLevel
: int
Methods
-
getErrorLevel()
: int
-
setErrorLevel()
: void
-
triggerClassDeprecationNotice()
: void
-
triggerMethodDeprecationNotice()
: void
-
validateErrorLevel()
: void
DEFAULT_ERROR_LEVEL
public
mixed
DEFAULT_ERROR_LEVEL
= E_USER_NOTICE
E_NONE
public
mixed
E_NONE
= 0
ERROR_LEVELS
public
mixed
ERROR_LEVELS
= [self::E_NONE, E_USER_DEPRECATED, E_USER_NOTICE, E_USER_WARNING, E_USER_ERROR]
$errorLevel
private
static int
$errorLevel
= E_USER_NOTICE
getErrorLevel()
public
static getErrorLevel() : int
setErrorLevel()
public
static setErrorLevel([int $errorLevel = E_USER_NOTICE ]) : void
Parameters
-
$errorLevel
: int
= E_USER_NOTICE
-
triggerClassDeprecationNotice()
public
static triggerClassDeprecationNotice(string $className[, string|null $alternativeClassName = null ]) : void
Parameters
-
$className
: string
-
-
$alternativeClassName
: string|null
= null
-
-
psalm-suppress
-
triggerMethodDeprecationNotice()
public
static triggerMethodDeprecationNotice(string $methodName[, string|null $alternativeMethodName = null ][, string|null $alternativeClassName = null ]) : void
Parameters
-
$methodName
: string
-
-
$alternativeMethodName
: string|null
= null
-
-
$alternativeClassName
: string|null
= null
-
-
psalm-suppress
-
validateErrorLevel()
private
static validateErrorLevel(int $errorLevel) : void
Parameters
-
$errorLevel
: int
-