VPERepositoryInterface

Extends

Interface VPERepositoryInterface

category

System

package

VPE

subpackage

Repositories

Methods

Creates VPE entity.

createVPE() : \VPE

Response

\VPE

New VPE entity.

Deletes VPE entity from database.

delete(\VPEInterface $vpe) : \VPERepositoryInterface

Arguments

$vpe

\VPEInterface

VPE entity to be deleted.

Response

\VPERepositoryInterface

Same instance for chained method calls.

Returns all VPE entities as collection.

getAll() : \VPECollection

Response

\VPECollection

VPE collection.

Returns VPE entity by the given id.

getById(\IdType $vpeId) : \VPEInterface
Throws
\EntityNotFoundException

Arguments

$vpeId

\IdType

IdType of entity to be returned.

Response

\VPEInterface

Saves VPE entity in database.

save(\VPEInterface $vpe) : \VPERepositoryInterface

Arguments

$vpe

\VPEInterface

Vpe entity to be save.

Response

\VPERepositoryInterface

Same instance for chained method calls.