0
votes

When i use VarDumper of Symfony (symfony/var-dumper) to dump an Doctrine object and do have collection of subobject but the dumper dont display those sub-objects ?

Is it normal ?

I use :

        echo '<pre>';
    \Doctrine\Common\Util\Debug::dump($order, 5);
    echo '</pre>';

Thanks in advance.

1

1 Answers

0
votes

You say you are using symfony dump but in your code you have a doctrine dump.

Despite that the 'dump' only show sub objects if they are not lazy loaded.