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
asked Aug 1, 2017 in How To & Manuals by dfutura (120 points)
edited Sep 18, 2017 by ludek.vodicka

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.

answered Aug 1, 2017 by ludek.vodicka Skipper developer (127,910 points)