Dumping Object/Array Stacks in Symfony

Submitted by Peter Majmesku on Mon, 07/10/2017 - 13:54

I prefer using XDebug for debugging PHP code. But sometimes there's a huge nesting in the project, which makes the application very slow. Then XDebug can become pain. So there's an alternative for inspecting the contents of objects:


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

Doctrine Query Builder: Filter Entity Types Based on Discriminator Column

Submitted by Peter Majmesku on Wed, 06/14/2017 - 09:36
<?php $queryBuilder $this->entityManager->createQueryBuilder()

$queryBuilder->where('mbt INSTANCE OF Bundle:SomeType'); 
Subscribe to Doctrine