where('author_id', auth()->id()); } public static function form(Schema $form): Schema { return \App\Filament\Resources\MyPosts\Schemas\MyPostForm::configure($form); } public static function table(Table $table): Table { return \App\Filament\Resources\MyPosts\Tables\MyPostsTable::configure($table); } public static function getPages(): array { return [ 'index' => ListMyPosts::route('/'), 'create' => CreateMyPost::route('/create'), 'edit' => EditMyPost::route('/{record}/edit'), ]; } }