Exact puisque `_attributes: { phpName: Ccount }` te permettra de
renommer le nom de la classe uniquement...
D'après la Doc il n'y a pas de possibilité de renommer ton champs :
"
The column parameters are as follows:
* type: Column type. The choices are boolean, tinyint, smallint,
integer, bigint, double, float, real, decimal, char, varchar(size),
longvarchar, date, time, timestamp, bu_date, bu_timestamp, blob, and
clob.
* required: Boolean. Set it to true if you want the column to be
required.
* default: Default value.
* primaryKey: Boolean. Set it to true for primary keys.
* autoIncrement: Boolean. Set it to true for columns of type
integer that need to take an auto-incremented value.
* sequence: Sequence name for databases using sequences for
autoIncrement columns (for example, PostgreSQL and Oracle).
* index: Boolean. Set it to true if you want a simple index or to
unique if you want a unique index to be created on the column.
* foreignTable: A table name, used to create a foreign key to
another table.
* foreignReference: The name of the related column if a foreign
key is defined via foreignTable.
* onDelete: Determines the action to trigger when a record in a
related table is deleted. When set to setnull, the foreign key column
is set to null. When set to cascade, the record is deleted. If the
database engine doesn't support the set behavior, the ORM emulates it.
This is relevant only for columns bearing a foreignTable and a
foreignReference.
* isCulture: Boolean. Set it to true for culture columns in
localized content tables (see Chapter 13).
"
Tu ne peux pas modifier son nom dans la base ? elle sert à d'autres
choses ?
@Bientôt...
--~--~---------~--~----~------------~-------~--~----~
Vous avez reçu ce message, car vous êtes abonné au groupe Groupe "Symfony-fr"
de Google Groupes.
Pour transmettre des messages à ce groupe, envoyez un e-mail à
l'adresse [email protected]
Pour résilier votre abonnement à ce groupe, envoyez un e-mail à
l'adresse [EMAIL PROTECTED]
Pour afficher d'autres options, visitez ce groupe à l'adresse
http://groups.google.com/group/symfony-fr?hl=fr
-~----------~----~----~----~------~----~------~--~---