Code Monkey home page Code Monkey logo

Comments (16)

Ocramius avatar Ocramius commented on June 15, 2024

That constructor is messed up... I will have to fix that, thank you for reporting!

from doctrineormmodule.

Ocramius avatar Ocramius commented on June 15, 2024

@fuhrysteve does that happen with a clean application skeleton with just DoctrineModule and DoctrineORMModule?

from doctrineormmodule.

fuhrysteve avatar fuhrysteve commented on June 15, 2024

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.

Ocramius avatar Ocramius commented on June 15, 2024

This is quite severe, will fix it asap...

from doctrineormmodule.

Ocramius avatar Ocramius commented on June 15, 2024

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.

fuhrysteve avatar fuhrysteve commented on June 15, 2024

Blah, having a tough time reproducing it once I move stuff around too. I'll try again tomorrow.

from doctrineormmodule.

Ocramius avatar Ocramius commented on June 15, 2024

Got to reproduce this one, I already found a fix :)

from doctrineormmodule.

Ocramius avatar Ocramius commented on June 15, 2024

Fixed :)

from doctrineormmodule.

fuhrysteve avatar fuhrysteve commented on June 15, 2024

Perfect timing, I was just about to jump in there again. Thanks!

from doctrineormmodule.

Celtico avatar Celtico commented on June 15, 2024

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.

Ocramius avatar Ocramius commented on June 15, 2024

@Celtico the command is ./vendor/bin/doctrine-module orm:convert-mapping ...
Also, not sure what you are doing there

from doctrineormmodule.

Celtico avatar Celtico commented on June 15, 2024

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.

Ocramius avatar Ocramius commented on June 15, 2024

@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.

Celtico avatar Celtico commented on June 15, 2024

I updated the commentary in English.
Because could not be generated automatically and then move and modify to your liking

from doctrineormmodule.

Ocramius avatar Ocramius commented on June 15, 2024

@Celtico as said anyway, the command is ./vendor/bin/doctrine-module. You are not using the module's.

from doctrineormmodule.

Celtico avatar Celtico commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.