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

13 lines
252 B
YAML

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