I have 4 models held together by 4 pivot tables:
User, Company, Phone, Address
The User and Company are both tied together to Phone with the pivot tables user_phone and company_phone.
User has a method: addDefaultPhone( Request $request )
. It grabs $request->input()
and creates a phone number and attaches it to the User.
The same exact method can be used in the Company class. How can I include addDefaultAddress to both classes (without copying and pasting of course)?