modelFinder = $modelFinder; } /** * Execute the console command. * * @return void */ public function handle(): void { @unlink($this->modelFinder->getCachePath()); $this->info('Morph map models cache cleared!'); } }