M
M
maiskiykot2020-08-16 13:27:50
Laravel
maiskiykot, 2020-08-16 13:27:50

How to parse a query like ?id?

I have already found several requests in a project like route('route', $id). These queries throw such a horror in query:
array(1) [id=>0]. It is clear that by means of PHP it is possible to turn the kei and value. But maybe there is a way to parse using Laravel? The search turned up nothing.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2020-08-16
@Sanes

Collection works with arrays.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question