Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

The Entity - a higher-level base class #517

Closed
sergeyklay opened this issue Aug 9, 2013 · 1 comment
Closed

The Entity - a higher-level base class #517

sergeyklay opened this issue Aug 9, 2013 · 1 comment

Comments

@sergeyklay
Copy link
Contributor

I propose to create the Entity, a higher-level base class from which extends all other classes. Class that will encapsulate a factory, through the factory interface. It might look like this:

\Entity implements Factory
...
\Entity\Model
...
\Entity\Model\ORM
\Entity\Model\Somemodel1
...
\Entity\Model\ORM\Core
\Entity\Model\ORM\MPTT
\Entity\Model\ORM\Versioned
...
\Entity\Model\ORM\Core\Somemodel2
\Entity\Model\ORM\MPTT\Somemodel3
\Entity\Model\ORM\Versioned\Somemodel4
\Entity\Model\ORM\Versioned\Post
...
\Entity\Model\ORM\Versioned\Post\Somemodel5
...

Entity may contain a factory method (described in #516, or something like that)

@sergeyklay
Copy link
Contributor Author

Also seems this is useful for #416

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant