src/ContentBundle/Entity/Translation/PostTranslation.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\ContentBundle\Entity\Translation;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use PN\ContentBundle\Entity\Translation\PostTranslation as BasePostTranslation;
  5. /**
  6. * @ORM\Entity
  7. * @ORM\Table(name="post_translations")
  8. */
  9. class PostTranslation extends BasePostTranslation {
  10. /**
  11. * @var
  12. * @ORM\Id
  13. * @ORM\ManyToOne(targetEntity="App\ContentBundle\Entity\Post", inversedBy="translations")
  14. */
  15. protected $translatable;
  16. }