steevanb / doctrine-stats Goto Github PK
View Code? Open in Web Editor NEWGet Doctrine stats : managed entities, lazy loaded entities, hydration time etc.
Get Doctrine stats : managed entities, lazy loaded entities, hydration time etc.
Symfony 6 is released for years, and it is time to support it.
Love this bundle, but having trouble getting hydration time to show. I think I've got everything installed as per the README. Any advice on how to debug?
Nice library! Helped me a ton in my custom cms. I'm wondering if this would be strictly limited to a development environment if I also wanted to include the hydration statistics. Since I'd have to update my composer file and include all these scripts.
Property Doctrine\ORM\Cache\Persister\Entity\ReadOnlyCachedEntityPersister::$em does not exist
Hello,
First, thank for your job.
Second, i want to repport a problem :) .
When i have Doctrine Query with HYDRATE_SINGLE_SCALAR, and this contain only 1 column (ex. count), code have return an Type error because \Steevanb\DoctrineStats\Doctrine\ORM\Event\OverloadedHydratorTrait::hydrateAll need to return an array.
We can see \Doctrine\ORM\Internal\Hydration\AbstractHydrator::hydrateAll doesn't have a PHP return type.
So i think we should juste remove PHP return type on \Steevanb\DoctrineStats\Doctrine\ORM\Event\OverloadedHydratorTrait::hydrateAll.
Exemple of query :
$repository->createQueryBuilder('t') ->select('count(t.id)') ->getQuery() ->getSingleScalarResult();
And error returned :
TypeError: Return value of Doctrine\ORM\Internal\Hydration\SingleScalarHydrator::hydrateAll() must be of the type array, string returned
I didn't see CODE OF CONDUCT, or Test on your projet, can you tell me how can help you to fix this ?
Regards.
Hello and thank you for your work.
Did you plan the Symfony 5 and PHP 8 compatibility ?
Regards.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.