VPERepositoryInterface
in
Interface VPERepositoryInterface
Tags
Table of Contents
- createVPE() : VPE
- Creates VPE entity.
- delete() : VPERepositoryInterface
- Deletes VPE entity from database.
- getAll() : VPECollection
- Returns all VPE entities as collection.
- getById() : VPEInterface
- Returns VPE entity by the given id.
- save() : VPERepositoryInterface
- Saves VPE entity in database.
Methods
createVPE()
Creates VPE entity.
public
createVPE() : VPE
Return values
VPE —New VPE entity.
delete()
Deletes VPE entity from database.
public
delete(VPEInterface $vpe) : VPERepositoryInterface
Parameters
- $vpe : VPEInterface
-
VPE entity to be deleted.
Return values
VPERepositoryInterface —Same instance for chained method calls.
getAll()
Returns all VPE entities as collection.
public
getAll() : VPECollection
Return values
VPECollection —VPE collection.
getById()
Returns VPE entity by the given id.
public
getById(IdType $vpeId) : VPEInterface
Parameters
- $vpeId : IdType
-
IdType of entity to be returned.
Tags
Return values
VPEInterface —save()
Saves VPE entity in database.
public
save(VPEInterface $vpe) : VPERepositoryInterface
Parameters
- $vpe : VPEInterface
-
Vpe entity to be save.
Return values
VPERepositoryInterface —Same instance for chained method calls.