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

2 messages · Page 1 of 1 (latest)

humble fractal
#

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.

#

Figured it out, you have to use the boot function.