BaseServiceResult
extends Result
Table of Contents
Methods
-
createByResult()
: static
-
createWithErrorText()
: static
-
getFirstError()
: Error|null
-
isSuccessResult()
: mixed
createByResult()
public
static createByResult(Result $result) : static
Parameters
-
$result
: Result
-
createWithErrorText()
public
static createWithErrorText(mixed $text[, mixed $code = 0 ]) : static
Parameters
-
$text
: mixed
-
-
$code
: mixed
= 0
-
getFirstError()
public
getFirstError() : Error|null
isSuccessResult()
public
static isSuccessResult(Result $result) : mixed
Parameters
-
$result
: Result
-