VPEWriteService

Implements \VPEWriteServiceInterface

Class VPEWriteService

category

System

package

VPE

Methods

VPEWriteService constructor.

__construct(\VPERepositoryInterface $repository) 

Arguments

Creates VPE entity.

createVPE() : \VPE

Response

\VPE

New VPE entity.

Deletes VPE entity from database.

delete(\VPEInterface $vpe) : $this

Arguments

$vpe

\VPEInterface

VPE entity to be deleted.

Response

$this

\VPEWriteServiceInterface Same instance for chained method calls.

Saves VPE entity in database.

save(\VPEInterface $vpe) : $this|\VPEWriteServiceInterface

Arguments

$vpe

\VPEInterface

VPE entity to be saved.

Response

$this|\VPEWriteServiceInterface

Same instance for chained method calls.

Properties

repository

repository : \VPERepositoryInterface