VPEStorageInterface
in
Interface VPEStorageInterface
Tags
Table of Contents
- delete() : VPEStorageInterface
- Deletes VPE entity data in database.
- getAll() : array<string|int, mixed>
- Returns all VPE entities data as array.
- getById() : array<string|int, mixed>
- Returns VPE entity data by the given id.
- save() : VPEStorageInterface
- Saves VPE entity data in database.
- update() : VPEStorageInterface
- Updates VPE entity data in database.
Methods
delete()
Deletes VPE entity data in database.
public
delete(VPEInterface $vpe) : VPEStorageInterface
Parameters
- $vpe : VPEInterface
-
VPE entity to be delete.
Return values
VPEStorageInterface —Same instance for chained method calls.
getAll()
Returns all VPE entities data as array.
public
getAll() : array<string|int, mixed>
Return values
array<string|int, mixed> —getById()
Returns VPE entity data by the given id.
public
getById(IdType $vpeId) : array<string|int, mixed>
Parameters
- $vpeId : IdType
Return values
array<string|int, mixed> —save()
Saves VPE entity data in database.
public
save(VPEInterface $vpe) : VPEStorageInterface
Parameters
- $vpe : VPEInterface
-
VPE entity to be saved.
Return values
VPEStorageInterface —Same instance for chained method calls.
update()
Updates VPE entity data in database.
public
update(VPEInterface $vpe) : VPEStorageInterface
Parameters
- $vpe : VPEInterface
-
VPE entity to be updated.
Return values
VPEStorageInterface —Same instance for chained method calls.