mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-679: Allow \Doctrine\* classes to be extended and used #836
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jul 10, 2010).
Jira issue originally created by user jorritposthuma:
Sometimes, one might want to extend the Doctrine ORM / DBAL / Common classes to provide extra, or specialized features. If i remember correctly, Doctrine 1.2 had way's to change the classes used by Doctrine, so the developer could extend the default class, and provide the new to Doctrine.
What is your view on this?
For example, I would very much like to extend the DQL parser, but of course without changing the original Doctrine code-base.
@doctrinebot commented on GitHub (Jul 10, 2010):
Comment created by romanb:
Doctrine is extensible in the places where we design it to be so. You need to be much more concrete with your request.
Concerning the DQL parser, read up on the reference documentation and the cookbook. There are 2 cookbook articles that deal with DQL customizations.
@doctrinebot commented on GitHub (Jul 10, 2010):
Issue was closed with resolution "Invalid"