GenerateRecommendations
extends Command
in package
Table of Contents
Properties
- $description : string
- The console command description.
- $signature : string
- The name and signature of the console command.
Methods
- handle() : int
- Execute the console command.
Properties
$description
The console command description.
protected
string
$description
= 'Generate model recommendations'
$signature
The name and signature of the console command.
protected
string
$signature
= 'recommendations:generate
{model : The model class to generate recommendations for}
{--name= : Optional specific recommendation name to generate}
{--fresh : Force regeneration of all recommendations}'
Methods
handle()
Execute the console command.
public
handle(RecommendationService $recommendationService) : int
Parameters
- $recommendationService : RecommendationService