RedbookMakesCacheRepository
in package
implements
RedbookMakesDatabaseRepositoryContract
Interfaces, Classes, Traits and Enums
Table of Contents
- $repository : RedbookMakesDatabaseRepositoryContract
- __construct() : mixed
- all() : Collection
- getIdByCode() : int|null
- getMakeByCode() : RedbookVehicleMake|null
Properties
$repository
protected
RedbookMakesDatabaseRepositoryContract
$repository
Methods
__construct()
public
__construct(RedbookMakesDatabaseRepositoryContract $repository) : mixed
Parameters
- $repository : RedbookMakesDatabaseRepositoryContract
Return values
mixed —all()
public
all() : Collection
Tags
Return values
Collection —getIdByCode()
public
getIdByCode(string $code) : int|null
Parameters
- $code : string
Tags
Return values
int|null —getMakeByCode()
public
getMakeByCode(mixed $code) : RedbookVehicleMake|null
Parameters
- $code : mixed