Missing documentation #7

Closed
opened 2023-03-23 09:53:42 +00:00 by mcfaith9 · 1 comment
mcfaith9 commented 2023-03-23 09:53:42 +00:00 (Migrated from github.com)

I tried to use it on my AppServiceProvider

FilamentEnvironmentIndicator::configureUsing(function (FilamentEnvironmentIndicator $indicator) {
            $indicator->showBadge = fn () => false;
            $indicator->showBorder = fn () => true;
        }, isImportant: true);

and its says Class "App\Providers\pxlrbt\FilamentEnvironmentIndicator" not found

I tried to use it on my `AppServiceProvider` ``` FilamentEnvironmentIndicator::configureUsing(function (FilamentEnvironmentIndicator $indicator) { $indicator->showBadge = fn () => false; $indicator->showBorder = fn () => true; }, isImportant: true); ``` and its says Class `"App\Providers\pxlrbt\FilamentEnvironmentIndicator" not found`
pxlrbt commented 2023-04-04 05:38:49 +00:00 (Migrated from github.com)

You didn't import the correct class pxlrbt\FilamentEnvironmentIndicator\FilamentEnvironmentIndicator. This is basic PHP and therefore wasn't documented on the repo.

You didn't import the correct class `pxlrbt\FilamentEnvironmentIndicator\FilamentEnvironmentIndicator`. This is basic PHP and therefore wasn't documented on the repo.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pxlrbt/filament-environment-indicator#7
No description provided.