ProcessResult
Table of Contents
ERROR | 'ERROR' | |
---|---|---|
WARNING | 'WARNING' | |
SUCCESS | 'SUCCESS' | |
$type | ||
$message | ||
$class | ||
__construct() | mixed | |
warn() | ProcessResult | |
error() | ProcessResult | |
success() | ProcessResult | |
isError() | mixed | |
isWarning() | mixed | |
isSuccess() | mixed | |
getMessage() | mixed |
Constants
ERROR
public
mixed
$ERROR
= 'ERROR'
WARNING
public
mixed
$WARNING
= 'WARNING'
SUCCESS
public
mixed
$SUCCESS
= 'SUCCESS'
Properties
$type
protected
mixed
$type
$message
protected
mixed
$message
$class
protected
mixed
$class
Methods
__construct()
private
__construct(
$type :
string
[, $message :
string|null
= null ]
[, $class :
string|null
= null ]
)
: mixed
Parameters
- $type : string
- $message : string|null = null
- $class : string|null = null
呼び出し元クラス
Return values
mixedwarn()
public
static warn(
[ $message :
string|null
= null ]
[, $class :
string|null
= null ]
)
: ProcessResult
Parameters
- $message : string|null = null
- $class : string|null = null
Return values
ProcessResulterror()
public
static error(
[ $message :
string|null
= null ]
[, $class :
string|null
= null ]
)
: ProcessResult
Parameters
- $message : string|null = null
- $class : string|null = null
Return values
ProcessResultsuccess()
public
static success(
[ $message :
string|null
= null ]
[, $class :
string|null
= null ]
)
: ProcessResult
Parameters
- $message : string|null = null
- $class : string|null = null
Return values
ProcessResultisError()
public
isError(
)
: mixed
Return values
mixedisWarning()
public
isWarning(
)
: mixed
Return values
mixedisSuccess()
public
isSuccess(
)
: mixed
Return values
mixedgetMessage()
public
getMessage(
)
: mixed