Skip to content

The confusing directory structure #10

Description

@analytik

Hi,

First of all, thanks for Mandango and this Bundle, I do appreciate all the effort that went into this. However, something seems wrong - maybe I'm just missing something here.

Bundles in Symfony should be self-sufficient, well, bundles of code, and should be compact. Why does MandangoBundle need to generate a separate src/Model?

And why does Model class for my bundle reside in this /Model - OUTSIDE my bundle, while extending an ABSTRACT class that's INSIDE my bundle, which extends the base class which is again, for some reason OUTSIDE my bundle.

This seems all completely unnecessary, as the models are explicitly tied to the bundle, and have no reason to walk around outside its boundaries.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions