Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add usingResource method #19

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

CharlieEtienne
Copy link
Contributor

Hi, I propose this PR to let users override AnnouncementResource using a new method called usingResource.

Example:

plugins([
  FilamentAnnouncePlugin::make()
    ->usingResource(MyCustomAnnouncementResource::class),
    ->pollingInterval('30s'),
])

@rupadana rupadana merged commit d134831 into rupadana:main Mar 17, 2024
6 checks passed
@CharlieEtienne CharlieEtienne deleted the CharlieEtienne-patch-2 branch March 18, 2024 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants