SimpleInternalObject.php 355 B

1234567891011121314151617181920
  1. <?php
  2. namespace JMS\Serializer\Tests\Fixtures;
  3. use JMS\Serializer\Annotation as Serializer;
  4. /**
  5. * @Serializer\Exclude("NONE")
  6. */
  7. class SimpleInternalObject extends \Exception
  8. {
  9. private $bar;
  10. protected $camelCase = 'boo';
  11. public function __construct($foo, $bar)
  12. {
  13. parent::__construct($foo);
  14. $this->bar = $bar;
  15. }
  16. }