VPEReadService
in package
implements
VPEReadServiceInterface
Class VPEReadService
Tags
Interfaces, Classes and Traits
- VPEReadServiceInterface
- Interface VPEReadServiceInterface
Table of Contents
- $repository : VPERepositoryInterface
- __construct() : mixed
- VPEReadService constructor.
- getAll() : VPECollection
- Returns als VPE entities as collection.
- getById() : VPEInterface
- Returns VPE entity by the given id.
Properties
$repository
private
VPERepositoryInterface
$repository
Methods
__construct()
VPEReadService constructor.
public
__construct(VPERepositoryInterface $repository) : mixed
Parameters
- $repository : VPERepositoryInterface
Return values
mixed —getAll()
Returns als VPE entities as collection.
public
getAll() : VPECollection
Return values
VPECollection —getById()
Returns VPE entity by the given id.
public
getById(IdType $vpeId) : VPEInterface
Parameters
- $vpeId : IdType
-
VPE entity to be given.