Interface LaravelUi5\Core\Diagnosis\Contracts\DoctorRuleInterface

extends RuleInterface

A rule of ui5:doctor, the developer's diagnosis of a checkout.

Register a rule by tagging it with this interface's FQCN, from any service provider — a package's or the host's:

$this->app->tag([MyRule::class], DoctorRuleInterface::class);

Tag the rule unconditionally. ui5:doctor runs every tagged rule on every run; a rule that does not apply to a system answers {@see \LaravelUi5\Core\Diagnosis\Outcome::pass()} or {@see \LaravelUi5\Core\Diagnosis\Outcome::skip()}.

Methods inherited from LaravelUi5\Core\Diagnosis\Contracts\RuleInterface
id(), description(), run()