WakeUpNoticesAsset.php 391 B

1234567891011121314151617181920
  1. <?php
  2. namespace DoctrineTest\InstantiatorTestAsset;
  3. use ArrayObject;
  4. use function trigger_error;
  5. /**
  6. * A simple asset for an abstract class
  7. */
  8. class WakeUpNoticesAsset extends ArrayObject
  9. {
  10. /**
  11. * Wakeup method called after un-serialization
  12. */
  13. public function __wakeup()
  14. {
  15. trigger_error('Something went bananas while un-serializing this instance');
  16. }
  17. }