F
Filament4mo ago
Lance

Is it possible to DI in a class that extends Filament\Resources\Pages\CreateRecord?

mount doesn't work because the parent class has that defined already with no parameters __construct doesn't work because Livewire only injects into mount Currently I'm using app/resolve helper, but that's not DI.
Solution:
Figured it out, you have to use the boot function.
Jump to solution
1 Reply
Solution
Lance
Lance4mo ago
Figured it out, you have to use the boot function.

Did you find this page helpful?