doAction('filament.post_form', $schema); return $schema; } public static function table(Table $table): Table { $table = PostsTable::configure($table); // 插件注入:价格、会员专享等表格列 app(\App\Blog\Support\PluginManager::class)->doAction('filament.post_table', $table); return $table; } public static function getRelations(): array { return [ \App\Filament\Resources\Posts\RelationManagers\CommentsRelationManager::class, ]; } public static function getPages(): array { return [ 'index' => ListPosts::route('/'), 'create' => CreatePost::route('/create'), 'edit' => EditPost::route('/{record}/edit'), ]; } }