Home »
MCQs »
Laravel MCQs
How many arguments does Cookie() method takes?
45. How many arguments does Cookie() method takes?
- 1
- 2
- 3
- 4
Answer: C) 3
Explanation:
Cookie() method takes three arguments:
- First: Name of the cookie
- Second: Value of the cookie
- Third: Duration of the cookie