DriveVehicleSegmentsCacheRepository
in package
implements
DriveVehicleSegmentsDatabaseRepositoryContract
Interfaces, Classes, Traits and Enums
Table of Contents
- $cache : Repository
- $repository : DriveVehicleSegmentsDatabaseRepositoryContract
- __construct() : mixed
- DriveVehicleSegmentsCacheRepository constructor.
- all() : Collection
Properties
$cache
protected
Repository
$cache
$repository
protected
DriveVehicleSegmentsDatabaseRepositoryContract
$repository
Methods
__construct()
DriveVehicleSegmentsCacheRepository constructor.
public
__construct(DriveVehicleSegmentsDatabaseRepositoryContract $repository, Repository $cache) : mixed
Parameters
- $repository : DriveVehicleSegmentsDatabaseRepositoryContract
- $cache : Repository
Return values
mixed —all()
public
all([int|null $version = null ]) : Collection
Parameters
- $version : int|null = null