0 votes

I want to generate the entity class with properties without annotations and the entity.orm.yml inside config folder. is it posible?

Now I have data format: doctrine 2 Yml and only the entity.orm.yml is generated inside config dir. The yml indentation generated only have 2 spaces, how I can change to 4?

  type: entity
      type: integer
      nullable: true
in How To & Manuals by (170 points)
edited by

1 Answer

0 votes

In case you're exporting to YML there is no way how to export also to Php. It's redundant.

In case you need to generate Php classes from Yml, you can use Doctrine generate tools.

Regarding Yml spacing, there is no such option.

by Skipper developer (138k points)