symfony - Parameters as array in Yaml in Symfony2 -


I am doing what works fine:

  parameter: array_name1: [ A, now, what should i do in PHP $ array_name3 [1] = array ("a", a, a, c, d] array_name 2: [x, y, a, b]   

parameter: array_name3 [1]: [1, 2, 3] array_name3 [2]: [A, B, A, B, A, B, C] array_name3 [3]: [x, y, z] / Code>

... which does not work at all. I do not believe in anything.

How do I define multi-dimensional arrays in Yaml (Symfony2) ?

try this code>

Or if you want to associate it with:

  parameter: array_name3: 1: [1, 2, 3] 2: [a, b, c] bla: [x, y, z ]   

Or if you want more -

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -