<?php namespace Timestampable\Fixture; use Gedmo\Mapping\Annotation as Gedmo; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity */ class WithoutInterface { /** @ORM\Id @ORM\GeneratedValue @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=128) */ private $title; /** * @Gedmo\Timestampable(on="create") * @ORM\Column(type="date") */ private $created; /** * @ORM\Column(type="datetime") * @Gedmo\Timestampable(on="update") */ private $updated; public function getId() { return $this->id; } public function setTitle($title) { $this->title = $title; } public function getTitle() { return $this->title; } public function getCreated() { return $this->created; } public function getUpdated() { return $this->updated; } }