<?phpnamespaceEntity;
useOpifer\Revisions\Mapping\AnnotationasRevisions;
useDoctrine\ORM\MappingasORM;
/** * @ORM\Table(name="articles") * @ORM\Entity */class Article
{
/** @ORM\Id @ORM\GeneratedValue @ORM\Column(type="integer") */private$id;
/** * @Revisions\Revised * @ORM\Column(length=128) */private$title;
/** * @Revisions\Revised * @ORM\Column(type="text") */private$content;
/** * @Revisions\Draft */private$draft;
}Uh oh!
There was an error while loading. Please reload this page.
Latest commit
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|