DriveBodyTypesCacheRepository
in package
implements
DriveBodyTypesDatabaseRepositoryContract
Interfaces, Classes, Traits and Enums
Table of Contents
- $repository : DriveBodyTypesDatabaseRepositoryContract
- __construct() : mixed
- all() : array<string|int, DriveVehicleBodyType>|Collection
- getByName() : DriveVehicleBodyType|null
Properties
$repository
protected
DriveBodyTypesDatabaseRepositoryContract
$repository
Methods
__construct()
public
__construct(DriveBodyTypesDatabaseRepository $repository) : mixed
Parameters
- $repository : DriveBodyTypesDatabaseRepository
Return values
mixed —all()
public
all() : array<string|int, DriveVehicleBodyType>|Collection
Tags
Return values
array<string|int, DriveVehicleBodyType>|Collection —getByName()
public
getByName(string $name) : DriveVehicleBodyType|null
Parameters
- $name : string