pixelfederation / doctrine-resettable-em-bundle Goto Github PK
View Code? Open in Web Editor NEWResettable entity manager for long running apps (swoole, message consumers)
License: MIT License
Resettable entity manager for long running apps (swoole, message consumers)
License: MIT License
composer require pixelfederation/doctrine-resettable-em-bundle
Using version ^1.3 for pixelfederation/doctrine-resettable-em-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "5.1.*"
Prefetching 2 packages
- Downloading (100%)
Package operations: 2 installs, 0 updates, 0 removals
- Installing symfony/orm-pack (v1.0.8): Loading from cache
- Installing pixelfederation/doctrine-resettable-em-bundle (1.3.6): Loading from cache
Writing lock file
Generating optimized autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
92 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Symfony operations: 1 recipe (30736602cb4f3d478bef5cbea42fc02a)
- Configuring pixelfederation/doctrine-resettable-em-bundle (>=1.3.6): From auto-generated recipe
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!!
!! // Clearing the cache for the prod environment with debug false
!!
!! 10:50:16 CRITICAL [php] Uncaught Error: Argument 3 passed to PixelFederation\DoctrineResettableEmBundle\ORM\ResettableEntityManager::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in dashboard\var\cache\pro_\ContainerFvxnRbY\getDoctrine_Orm_DefaultEntityManagerService.php on line 20 ["exception" => TypeError { …}]
!!
!! In ResettableEntityManager.php line 43:
!!
!! Argument 3 passed to PixelFederation\DoctrineResettableEmBundle\ORM\ResettableEntityManager::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in dashboard\var\cache\pro_\ContainerFvxnRbY\getDoctrine_Orm_DefaultEntityManagerService.php on line 20
!!
!!
!! cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>
!!
!!
Script @auto-scripts was called via post-update-cm
Hi, I'm not sure how to use this in Symfony 5 with swoole-bundle.. any guideline for novice like me? Thanks.
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.