mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3242: Initialize the type array #4010
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 (Aug 7, 2014).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user bilou:
Hi there,
I'm having issues with initializing a field in one of my entities whose type is array. Could you just give an example where an array field is initilized with this value for instance (array('un' => 'one', 'deux' => 'two', 'trois' => 'three'))? Because I can't find anything about the array type initilization. Thanks a lot
@doctrinebot commented on GitHub (Aug 7, 2014):
Comment created by @ocramius:
You just set it in your entities:
@doctrinebot commented on GitHub (Aug 7, 2014):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Aug 7, 2014):
Comment created by bilou:
Ok thanks, I thought of initializing into the annotations as for the other types.