Licitator 1.0
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.

36 lines
478 B

5 years ago
  1. <?php
  2. namespace Prometeo\CommandsBundle\Annotations;
  3. /**
  4. * @Annotation
  5. * @Target({"METHOD"})
  6. */
  7. class AdminProperty
  8. {
  9. /**
  10. * @Required
  11. *
  12. * @var string
  13. */
  14. public $name;
  15. /**
  16. *
  17. * @var string
  18. */
  19. public $text;
  20. /**
  21. * @return string
  22. */
  23. public function getName()
  24. {
  25. return $this->name;
  26. }
  27. /**
  28. * @return string
  29. */
  30. public function getText()
  31. {
  32. return $this->text;
  33. }
  34. }