Get the company_id data after the user is created

Is there a way to get the data of this company field after I created the user? I will use afterCreate and manually add the data in my pivot tables
No description
1 Reply
Vp
Vp7mo ago
try dd($this->data) inside ->afterCreate()

Did you find this page helpful?