-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
Description
When dumping container parameters with this command :
app/console debug:container --parameters
The output is truncated for array parameters.
Output example :
twig.form.renderer.class Symfony\Bridge\Twig\Form\TwigRenderer
twig.form.resources ["form_div_layout.html.twig","SonataCoreBundle:Form:datepick...
twig.loader.chain.class Twig_Loader_Chain
twig.loader.filesystem.class Symfony\Bundle\TwigBundle\Loader\FilesystemLoader
Using --format=json
disable the truncated output.
"twig.form.renderer.class": "Symfony\\Bridge\\Twig\\Form\\TwigRenderer",
"twig.form.resources": [
"form_div_layout.html.twig",
"SonataCoreBundle:Form:datepicker.html.twig",
"bootstrap_3_layout.html.twig",
"SonataUserBundle:Form:form_admin_fields.html.twig"
],
"twig.loader.chain.class": "Twig_Loader_Chain",
"twig.loader.filesystem.class": "Symfony\\Bundle\\TwigBundle\\Loader\\FilesystemLoader",
But, using app/console debug:container --parameter="twig.form.resources" --format=json
the output is truncated again.
{
"twig.form.resources": "[\"form_div_layout.html.twig\",\"SonataCoreBundle:Form:datepick..."
}
Can you reproduce this behavior ?
Maybe adding command option, like « --full » for displaying full output ?