Comments (16)
That constructor is messed up... I will have to fix that, thank you for reporting!
from doctrineormmodule.
@fuhrysteve does that happen with a clean application skeleton with just DoctrineModule
and DoctrineORMModule
?
from doctrineormmodule.
Yeah, they only other thing I did was copy the "Application" module in ZendSkeletonApplication (EDIT: wrong link), change the name, and create a couple of entities in there to try out.. so it's pretty bare.
from doctrineormmodule.
This is quite severe, will fix it asap...
from doctrineormmodule.
Hey @fuhrysteve, could you please provide a reproducible example of the broken behavior? I couldn't reproduce it. A branch in your ZendSkeletonApplication fork would be perfect to investigate...
The constructor signature is obviously incorrect, but as said, I couldn't reproduce it...
from doctrineormmodule.
Blah, having a tough time reproducing it once I move stuff around too. I'll try again tomorrow.
from doctrineormmodule.
Got to reproduce this one, I already found a fix :)
from doctrineormmodule.
Fixed :)
from doctrineormmodule.
Perfect timing, I was just about to jump in there again. Thanks!
from doctrineormmodule.
Hello,
I think I have it set came and put:
. / vendor / bin / doctrine orm-module: convert-mapping /
To see if it's creation in any area code and jump me RuntimeException error Not enough arguments.
versions:
DoctrineModule Version 0.5.0 Command Line Interface
VERSION = '2 .0.0 ZF rc2 ';
All uploaded through git and composer
thanks
TRANSLATION google
from doctrineormmodule.
@Celtico the command is ./vendor/bin/doctrine-module orm:convert-mapping ...
Also, not sure what you are doing there
from doctrineormmodule.
Sorry
My purpose is to generate automatically entities.
(. / vendor / bin / doctrine orm-module: convert-mapping - from-database yaml. / mapping), this command works fine.
(. / vendor / bin / doctrine orm-module: generate-entities - generate-methods = "true". / mapping) and how to indicate this is not where is the yml
from doctrineormmodule.
@Celtico sorry, I don't speak spanish.
By the way, just don't generate entities, that's just a bad practice introduced by Symfony...
from doctrineormmodule.
I updated the commentary in English.
Because could not be generated automatically and then move and modify to your liking
from doctrineormmodule.
@Celtico as said anyway, the command is ./vendor/bin/doctrine-module
. You are not using the module's.
from doctrineormmodule.
thank you very much!
It all works perfect
./vendor/bin/doctrine-module orm:convert-mapping --filter="NameTable" --from-database annotation ./module/NameModule/src/NameModule/Entity
from doctrineormmodule.
Related Issues (20)
- Installation with PHP 8 HOT 1
- Class 'DoctrineORMModuleTest\Framework\TestCase' not found in IndexControllerTest.php HOT 1
- Paginators Cache ID is too generic HOT 7
- Support for PHP 8.1
- @Annotation\InputFilter not working HOT 12
- Deprecation of Serializable interface in PHP 8.1 HOT 3
- ser show
- How do you migrate from doctrine-orm-module 1 to 4, wrt. annotations? HOT 4
- Typo in user guide documentation HOT 1
- "Specified key was too long; max key length is 767 bytes" - for version column HOT 2
- PHP 8.2 support
- How to register custom Hydration strategies? HOT 1
- Support Attributes instead of Annotations HOT 1
- Upgrade `doctrine/DoctrineModule` to v6 HOT 2
- Cache dir change since updagrade to doctrine/cache:^2 HOT 1
- Form element of inverse side of a bidirectional association is always removed HOT 5
- Error Cache instance with Laminas Di HOT 2
- PHP 8.3 support HOT 4
- Add possibility to enable filters HOT 1
- orm3 compatibility HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doctrineormmodule.