You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 satır
589B

  1. <?php
  2. namespace Lc\SovBundle\Doctrine\Extension;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as Gedmo;
  5. use Lc\SovBundle\Model\User\UserInterface;
  6. trait BlameableNullableTrait
  7. {
  8. /**
  9. * @Gedmo\Blameable(on="create")
  10. * @ORM\ManyToOne(targetEntity="Lc\SovBundle\Model\User\UserInterface")
  11. * @ORM\JoinColumn(nullable=true)
  12. */
  13. protected $createdBy;
  14. /**
  15. * @Gedmo\Blameable(on="update")
  16. * @ORM\ManyToOne(targetEntity="Lc\SovBundle\Model\User\UserInterface")
  17. * @ORM\JoinColumn(nullable=true)
  18. */
  19. protected $updatedBy;
  20. }