This commit is contained in:
Dan Harrin
2023-10-06 09:33:38 +02:00
parent 2bd35f157d
commit 2ffc9f79b6
11 changed files with 11 additions and 11 deletions
@@ -67,7 +67,7 @@ class MakeFieldCommand extends Command
$this->copyStubToApp('FieldView', $viewPath);
}
$this->components->info("Filament Form Field [$path] created successfully.");
$this->components->info("Filament Form Field [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -101,7 +101,7 @@ class MakeFormCommand extends Command
'submitAction' => filled($model) ? ($isEditForm ? 'save' : 'create') : 'submit',
]);
$this->components->info("Filament Form [$path] created successfully.");
$this->components->info("Filament Form [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -67,7 +67,7 @@ class MakeLayoutComponentCommand extends Command
$this->copyStubToApp('LayoutComponentView', $viewPath);
}
$this->components->info("Filament Form Layout Component [$path] created successfully.");
$this->components->info("Filament Form Layout Component [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -67,7 +67,7 @@ class MakeEntryCommand extends Command
$this->copyStubToApp('EntryView', $viewPath);
}
$this->components->info("Filament Infolist Entry [$path] created successfully.");
$this->components->info("Filament Infolist Entry [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -67,7 +67,7 @@ class MakeLayoutComponentCommand extends Command
$this->copyStubToApp('LayoutComponentView', $viewPath);
}
$this->components->info("Filament Infolist Layout Component [$path] created successfully.");
$this->components->info("Filament Infolist Layout Component [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -181,7 +181,7 @@ class MakePageCommand extends Command
$this->copyStubToApp('PageView', $viewPath);
}
$this->components->info("Filament Page [$path] created successfully.");
$this->components->info("Filament Page [{$path}] created successfully.");
if ($resource !== null) {
$this->components->info("Make sure to register the page in `{$resourceClass}::getPages()`.");
@@ -55,7 +55,7 @@ class MakePanelCommand extends Command
));
}
$this->components->info("Filament Panel [$path] created successfully.");
$this->components->info("Filament Panel [{$path}] created successfully.");
$this->components->warn("We've attempted to register the {$class} in your [config/app.php] file as a service provider. If you get an error while trying to access your panel then this process has probably failed. You can manually register the service provider by adding it to the [providers] array.");
return static::SUCCESS;
@@ -180,7 +180,7 @@ class MakeRelationManagerCommand extends Command
'tableHeaderActions' => $this->indentString($tableHeaderActions, 4),
]);
$this->components->info("Filament Relation Manager [$path] created successfully.");
$this->components->info("Filament Relation Manager [{$path}] created successfully.");
$this->components->info("Make sure to register the relation in `{$resource}::getRelations()`.");
@@ -67,7 +67,7 @@ class MakeColumnCommand extends Command
$this->copyStubToApp('ColumnView', $viewPath);
}
$this->components->info("Filament Table Column [$path] created successfully.");
$this->components->info("Filament Table Column [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -84,7 +84,7 @@ class MakeTableCommand extends Command
$this->copyStubToApp('TableView', $viewPath);
$this->components->info("Filament Table [$path] created successfully.");
$this->components->info("Filament Table [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -204,7 +204,7 @@ class MakeWidgetCommand extends Command
$this->copyStubToApp('WidgetView', $viewPath);
}
$this->components->info("Filament Widget [$path] created successfully.");
$this->components->info("Filament Widget [{$path}] created successfully.");
if ($resource !== null) {
$this->components->info("Make sure to register the widget in `{$resourceClass}::getWidgets()`, and then again in `getHeaderWidgets()` or `getFooterWidgets()` of any `{$resourceClass}` page.");