phpVisibility in propel model generation
With this release we added a special feature to the propel generation where we can set the visibility of the generated methods for a column. This allows for a more easy migration to another model or interface.
You can use this feature as follows:
database:
table:
field:
type: INTEGER
phpVisibility: protected # visibility of generated methods
By default the visibility is public
, but when specified you can change this. This will influence the getter (i.e., getField
) and the setter (i.e., setField($v)
) for a field in your schema.