mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
getter name exception #5165
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 @RomainSanchez on GitHub (Jun 21, 2016).
Originally assigned to: @Ocramius on GitHub.
Hi i encountered an exception with how doctrine automatically calls getters and setters.My entity has a collection of "species" and as the word is spelled species in the singular and plural doctrine is not happy with my method names.It is looking for specieses or specy.What is the best workaround
@guilhermeblanco commented on GitHub (Jun 21, 2016):
Create a test on http://github.com/doctrine/inflector project and address the issue there... =)
@Ocramius commented on GitHub (Jun 21, 2016):
Note: doctrine does not call getters or setters ;-)
Is this about the entity generator?
@RomainSanchez commented on GitHub (Jun 22, 2016):
Right, my bad.I'll look into Symfony's PropertyAccessor
@Ocramius commented on GitHub (Jun 30, 2016):
@RomainSanchez if this is a runtime concern, then yes, you need to check there :-)
Closing here as
invalid