File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 709709 "code" : " redirect('/path/to/route')->with('status', 'Your post has been published successfully!')"
710710 }
711711 ]
712- },{
712+ },
713+ {
713714 "title" : " অ্যারে এবং অবজেক্ট হেল্পার" ,
714715 "items" : [{
715716 "definition" : " অ্যারে বা অবজেক্ট এক্সেসিবেল কি না চেক করতে" ,
815816 "code" : " last()"
816817 }
817818 ]
819+ },
820+ {
821+ "title" : " মডেল এর গুরুতপূর্ন তথ্য" ,
822+ "items" : [
823+ {
824+ "definition" : " ডাটাবেজ এর কানেকশন সেট করে দেয়া" ,
825+ "code" : " protected $connection = 'sqlite';"
826+ },
827+ {
828+ "definition" : " টেবিল সেট করে দেয়া" ,
829+ "code" : " protected $table = 'users';"
830+ },
831+ {
832+ "definition" : " টেবিল এর প্রাইমেরি কি সেট করে দেয়া" ,
833+ "code" : " protected $primaryKey = 'column_id';"
834+ },
835+ {
836+ "definition" : " ফিল্ড ডেট টাইপ হিসেবে পাওয়ার জন্য" ,
837+ "code" : " protected $dates = ['dob'];"
838+ },
839+ {
840+ "definition" : " যেসব ফিল্ড এ ডাটা ইন্সার্ট করতে চাই" ,
841+ "code" : " protected $guarded = ['name', 'age'];"
842+ },
843+ {
844+ "definition" : " মডেল ইভেন্টে ডিফল্ট ইভেন্ট বাইন্ড করে দেয়া" ,
845+ "code" : " protected $dispatchesEvents = ['creating' => Event::class];"
846+ },
847+ {
848+ "definition" : " ফিল্ড এর ভ্যালু কাস্টিং করে চেইঞ্জ করে ফেলা" ,
849+ "code" : " protected $casts = ['dob' => 'int'];"
850+ }
851+ ]
818852 }
819853 ]
820854}
You can’t perform that action at this time.
0 commit comments