Skip to content

Instantly share code, notes, and snippets.

Avatar

Yan Ivanov franzose

View GitHub Profile
@franzose
franzose / reference.yml
Created Apr 23, 2017 — forked from mnapoli/reference.yml
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