2 years ago

Handling multiple objects in one action method

Posted 2 years ago by Nasr1

so i have this json object :- { "Id": 2, "Name": "Nasr City Tournament - Seventh District", "ArName": "دورة مدينة نصر - الحى السابع", "LogoUrl": "", "CompetitionTypeId": 2, "NumberOfTeams": 16, "YellowCardsToSuspend": 2, "CupImageUrl": "", "created_at": "2017-12-31 09:40:45", "updated_at": "2017-12-31 09:40:45", "competition_seasons": [], "competition_rounds": [] } in which each object depend on the object before it, i need to be able to create only one action method to handle this big object how i do this in laravel , or i mean how to create one action method to handle group of objects . please i need help and thanks in advance :)

Please sign in or create an account to participate in this conversation.