class BaseResult

Class BaseResult.

Properties

protected bool $success
protected Error $error

Methods

__construct()

BaseResult constructor.

bool|null
isSuccess()

No description

setSuccess(bool|null $success)

No description

Error|null
getError()

No description

setError(Error|null $error)

No description

Details

at line 31
__construct()

BaseResult constructor.

at line 39
bool|null isSuccess()

Return Value

bool|null

at line 49
BaseResult setSuccess(bool|null $success)

Parameters

bool|null $success

Return Value

BaseResult

at line 59
Error|null getError()

Return Value

Error|null

at line 69
BaseResult setError(Error|null $error)

Parameters

Error|null $error

Return Value

BaseResult