How to add json with fixtures

On symfony I am trying to add some fixtures to the database some of which requires json format.

I tried :

                        'France': mt_rand(18, 80),

I tried different other variations but in vain

what is the correct way to do it?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *