PreSerialize.php 390 B

1234567891011121314151617
  1. <?php
  2. namespace JMS\SerializerBundle\Annotation;
  3. /**
  4. * This annotation can be declared on methods which should be called
  5. * before the Serialization process.
  6. *
  7. * These methods do not need to be public, and should do any clean-up, or
  8. * preparation of the object that is necessary.
  9. *
  10. * @Annotation
  11. * @author Johannes M. Schmitt <schmittjoh@gmail.com>
  12. */
  13. final class PreSerialize
  14. {
  15. }