F
Filament14mo ago
Hemith

Difference between $data and $this->data in CreateResource

I want to know how the data is passed for the $data for functions in CreateResource.php. I want to pass some data from beforeCreate() to handleRecordCreation(). If I use the $data parameter, it doesn't get passed. But if I use $this->data, I can pass it from beforeCreate() to handleRecordCreation(). Is there a better way to do this ?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server