Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

woutsanders

💭
I may be slow to respond.
View GitHub Profile
@mnapoli
mnapoli / reference.yml
Last active Dec 10, 2020
Doctrine YAML configuration reference
View reference.yml
# Inspired from http://blog.hio.fr/2011/09/17/doctrine2-yaml-mapping-example.html
MyEntity:
type: entity
repositoryClass: MyRepositoryClass
table: my_entity
namedQueries:
all: "SELECT u FROM __CLASS__ u"
# Class-Table-Inheritance