Blameable.php 506 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace Gedmo\Mapping\Annotation;
  3. use Doctrine\Common\Annotations\Annotation;
  4. /**
  5. * Blameable annotation for Blameable behavioral extension
  6. *
  7. * @Annotation
  8. * @Target("PROPERTY")
  9. *
  10. * @author David Buchmann <mail@davidbu.ch>
  11. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  12. */
  13. final class Blameable extends Annotation
  14. {
  15. /** @var string */
  16. public $on = 'update';
  17. /** @var string|array */
  18. public $field;
  19. /** @var mixed */
  20. public $value;
  21. }