GetMappingEntityCollectionResult extends SuccessResult
Table of Contents
Properties
Methods
- __construct() : mixed
- addError() : mixed
- addErrors() : mixed
- createWithError() : Result
- getData() : array<string|int, mixed>
- getErrorCollection() : mixed
- getErrorMessages() : mixed
- getErrors() : mixed
Properties
$collection read-only
public
MappingEntityCollection
$collection
Methods
__construct()
public
__construct(MappingEntityCollection $collection) : mixed
Parameters
- $collection : MappingEntityCollection
addError()
public
addError(Error $error) : mixed
Parameters
- $error : Error
addErrors()
public
addErrors(array<string|int, mixed> $errors) : mixed
Parameters
- $errors : array<string|int, mixed>
createWithError()
public
static createWithError(string $error) : Result
Parameters
- $error : string
Return values
ResultgetData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>getErrorCollection()
public
getErrorCollection() : mixed
getErrorMessages()
public
getErrorMessages() : mixed
getErrors()
public
getErrors() : mixed