AllExcludedObject.php 258 B

123456789101112131415161718
  1. <?php
  2. namespace JMS\SerializerBundle\Tests\Fixtures;
  3. /**
  4. * @ExclusionPolicy("all")
  5. *
  6. * @author Johannes M. Schmitt <schmittjoh@gmail.com>
  7. */
  8. class AllExcludedObject
  9. {
  10. private $foo = 'foo';
  11. /**
  12. * @Expose
  13. */
  14. private $bar = 'bar';
  15. }