PreSerialize.php 369 B

12345678910111213141516
  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. * @author Johannes M. Schmitt <schmittjoh@gmail.com>
  11. */
  12. class PreSerialize
  13. {
  14. }