Code Monkey home page Code Monkey logo

Comments (3)

piotrgradzinski avatar piotrgradzinski commented on July 21, 2024

Hi @egorzot! As far as I can see for the make:entity command there is no option to parametrise it. So on the command level you can't change namespace for new entity or disable creating repository class.

You can do this on your own when entity/repository is created.

In terms of the namespace for entity - App\Entity is a default namespace also repository is created by default. If you have different project structure you can change namespace after creation and remove repository along with removing repository param in entity annotation.

I hope this makes sense for you and answers your question.

from maker-bundle.

weaverryan avatar weaverryan commented on July 21, 2024

We've just closed #40: there will not be a way to generate an entity without a repository. We want to be as helpful to most people as possible, but we can't make everyone happy :). Of course, you can always add your own maker command for your own needs!

We may make the namespace configurable. We'll follow whatever happens on symfony/flex#196

from maker-bundle.

egorzot avatar egorzot commented on July 21, 2024

@weaverryan no problem, thanks for answering.

from maker-bundle.

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.