Element
in package
implements JsonSerializable Uses ErrorTrait

This is the main class.

We use this class to check some return types.

Interfaces, Classes and Traits

JsonSerializable

Table of Contents

$error  : Error|null
getError() Returns the current element error (if there is error).  : Error|null
setError()  : void

Properties

Methods

getError()

Returns the current element error (if there is error).

public getError() : Error|null
Return values
Error|null

setError()

protected setError(mixed $error) : void
Parameters
$error : mixed
Return values
void

Search results