Jira issue originally created by user bilou:
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
Comment created by @ocramius:
You just set it in your entities:
public function **construct()
$this->someArrayField = ['un' => 'one', 'deux' => 'two', 'trois' => 'three'];
Issue was closed with resolution "Fixed"
Comment created by bilou:
Ok thanks, I thought of initializing into the annotations as for the other types.