DeleteResult extends Result
Table of Contents
Methods
- __destruct() : mixed
- getErrorMessages() : array<string|int, mixed>
- Returns array of strings with error messages
- getErrors() : array<string|int, EntityError>|array<string|int, FieldError>
- Returns an array of Error objects
- getObject() : EntityObject
- isSuccess() : bool
- Returns result status Within the core and events should be called with internalCall flag
- setObject() : mixed
Methods
__destruct()
public
__destruct() : mixed
getErrorMessages()
Returns array of strings with error messages
public
getErrorMessages() : array<string|int, mixed>
Return values
array<string|int, mixed>getErrors()
Returns an array of Error objects
public
getErrors() : array<string|int, EntityError>|array<string|int, FieldError>
Return values
array<string|int, EntityError>|array<string|int, FieldError>getObject()
public
getObject() : EntityObject
Return values
EntityObjectisSuccess()
Returns result status Within the core and events should be called with internalCall flag
public
isSuccess([bool $internalCall = false ]) : bool
Parameters
- $internalCall : bool = false
Return values
boolsetObject()
public
setObject(EntityObject $object) : mixed
Parameters
- $object : EntityObject