VersionInfoService
in package
Class VersionInfoService
This class provides methods for retrieving data of a particular category and a collection of specific categories.
Tags
Table of Contents
- $repository : VersionInfoRepository
- __construct() : mixed
- VersionInfoService constructor.
- getAllVersionInfoItems() : array<string|int, VersionInfoItemInterface>
- Returns an array of VersionInformationItemInterface objects.
- getLastInstalledVersion() : VersionInfoItemInterface|null
- Returns the last installed version
Properties
$repository
protected
VersionInfoRepository
$repository
Methods
__construct()
VersionInfoService constructor.
public
__construct(VersionInfoRepository $repository) : mixed
Parameters
- $repository : VersionInfoRepository
Return values
mixed —getAllVersionInfoItems()
Returns an array of VersionInformationItemInterface objects.
public
getAllVersionInfoItems() : array<string|int, VersionInfoItemInterface>
Return values
array<string|int, VersionInfoItemInterface> —getLastInstalledVersion()
Returns the last installed version
public
getLastInstalledVersion() : VersionInfoItemInterface|null