[Symfony] retrieve fromArray function in baisc model
Once time I wanted to use fromArray function which had created in a model by default, but I can’t find it anywhere. At last I know the reason.
In config/propel.ini, normally it will display :
propel.addGenericAccessors = true
propel.addGenericMutators = true
But if you delete these, fromArray function will not be added when we create a new model. And I find other functions like toArray will not be added either.
Tags: fromArray propel symfony


