Answer the question
In order to leave comments, you need to log in
How in the created laravel collection, access information by property?
Good afternoon.
I'm trying to create my own collection with the necessary keys - values. Example:
$mass["word"] = "hello";
$c = collect($mass);
dump($c["word"]);
$c->word;
$query->count() == 0;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question