"too much data with var_dump in symfony2 doctrine2" Code Answer

5

Replace var_dump() with the debug method dump() provided by Doctrine Common.

DoctrineCommonUtilDebug::dump($user);

It works for single objects and Doctrine collections and should prevent browser displaying issues you are having.

By parveenmca35-243e21204404 on September 30 2022

Answers related to “too much data with var_dump in symfony2 doctrine2”

Only authorized users can answer the search term. Please sign in first, or register a free account.