1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Mapping/yaml/Doctrine.Tests.ORM.Mapping.Animal.dcm.yml

18 lines
324 B
YAML

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