AccessorOrder.php 372 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace JMS\SerializerBundle\Annotation;
  3. /**
  4. * Controls the order of properties in a class.
  5. *
  6. * @Annotation
  7. * @Target("CLASS")
  8. * @author Johannes M. Schmitt <schmittjoh@gmail.com>
  9. */
  10. final class AccessorOrder
  11. {
  12. /**
  13. * @Required
  14. * @var string
  15. */
  16. public $order;
  17. /**
  18. * @var array<string>
  19. */
  20. public $custom = array();
  21. }