mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #895] [CLOSED] Fix for no dot on Class Names #8860
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/895
Author: @sinner
Created: 1/4/2014
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (4)
63816e2Fix for no dot on Class Namesa4afc50Fix for no dot on Class Names and Schema Namesf01ef60Correcting my mistakesaf1e5ebCS... should be } else {📊 Changes
1 file changed (+80 additions, -2 deletions)
View changed files
📝
lib/Doctrine/ORM/Mapping/Driver/DatabaseDriver.php(+80 -2)📄 Description
If you work with PostgreSQL Schemas, You should filter the names of table to generate Correct name for PHP Classes. This way allow not write dots (.) as part of the Class Name.
Additionally, there is a variable ($schema) that must be contained in the class "Doctrine\DBAL\Schema\Table" on an $schema possible property but this is not available. (recomended)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.