I believe there is no $ before collection
$month_collection = new Collection();
A good example here:
PS: it seems like new Collection always takes a capital C in the examples I found. Don’t know if it is indeed mandatory.
I believe there is no $ before collection
$month_collection = new Collection();
A good example here:
PS: it seems like new Collection always takes a capital C in the examples I found. Don’t know if it is indeed mandatory.