1
0
mirror of synced 2024-12-16 08:06:02 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Mapping/yaml/Doctrine.Tests.ORM.Mapping.Animal.dcm.yml

18 lines
324 B
YAML
Raw Normal View History

Doctrine\Tests\ORM\Mapping\Animal:
type: entity
inheritanceType: SINGLE_TABLE
discriminatorMap:
cat: Cat
dog: Dog
discriminatorColumn:
type: string
name: discr
length: 32
id:
id:
type: integer
generator:
strategy: CUSTOM
customIdGenerator:
class: stdClass