mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #338] [CLOSED] EntityGenerator will typehint core fields where applicable (DateTime) #8052
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/338
Author: @benlumley
Created: 4/18/2012
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
35c461fAdding support for typehinting setters for core types within EntityGeneratora831290Move map of php types and their typehints to EntityGenerator from DBAL\Type📊 Changes
1 file changed (+16 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/EntityGenerator.php(+16 -1)📄 Description
As per other PR (on dbal) - EntityGenerator doesn't currently do this. This PR adds it.
It requires the matching PR on dbal as well for the mapping info.
https://github.com/doctrine/dbal/pull/135
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.