Arango PHP ODM

EntityInterface extends JsonSerializable

Entity interface.

Tags
author

Lucas S. Vieira

Table of Contents

Methods

delete()  : bool
Removes a entity on server, if possible.
isNew()  : bool
Returns true if is a new object.
save()  : bool
Save a entity on server, if possible.
toArray()  : array<string|int, mixed>
Returns a array representation of entity.

Methods

delete()

Removes a entity on server, if possible.

public delete() : bool
Return values
bool

True if operation was successful, false otherwise.

isNew()

Returns true if is a new object.

public isNew() : bool
Return values
bool

save()

Save a entity on server, if possible.

public save() : bool
Return values
bool

True if operation was successful, false otherwise.

toArray()

Returns a array representation of entity.

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results