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?

AppBundle\Entity\ProductVariant:
  type: entity
  fields:
    points:
      type: integer
      nullable: true
asked Aug 1 in How To & Manuals by dfutura (120 points)
edited 5 days ago 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 by ludek.vodicka Skipper developer (125,470 points)