Skip to content

Instantly share code, notes, and snippets.

@Taluu
Created September 29, 2014 12:12
Show Gist options
  • Save Taluu/69565a4ab755732bb324 to your computer and use it in GitHub Desktop.
Save Taluu/69565a4ab755732bb324 to your computer and use it in GitHub Desktop.
<?php
/** @Entity */
class Foo
{
/** @Id @Column(...) */
private $id;
/** @Column(...) */
private $prop;
// ...
}
<?php
class Bar extends Foo
{
private $notPersisted;
public function getNotPersisted(){}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment