Search code examples
phpsymfony1propel

symfony - setting a different php class name for a table


My tables are named in a plural form - Models / Entities, is there a way to make the generated classes named Model / Entity?

(Don't know if this is relevant, but I'm using Propel as the ORM)

Thanks.


Solution

  • propel:
      users:
        _attributes:    { phpName: User}
        name:           varchar(255)