<?php namespace Spatie\Ignition\Solutions; use Spatie\Ignition\Contracts\Solution; class SuggestImportSolution implements Solution { protected string $class; public function __construct(string $class) { $this->class = $class; } public function getSolutionTitle(): string { return 'A class import is missing'; } public function getSolutionDescription(): string { return 'You have a missing class import. Try importing this class: `'.$this->class.'`.'; } public function getDocumentationLinks(): array { return []; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
SolutionProviders | Folder | 0755 |
|
|
SolutionTransformer.php | File | 819 B | 0644 |
|
SuggestCorrectVariableNameSolution.php | File | 894 B | 0644 |
|
SuggestImportSolution.php | File | 608 B | 0644 |
|