CallWriterInterface.php 651 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace dokuwiki\Parsing\Handler;
  3. interface CallWriterInterface
  4. {
  5. /**
  6. * Add a call to our call list
  7. *
  8. * @param array $call the call to be added
  9. */
  10. public function writeCall($call);
  11. /**
  12. * Append a list of calls to our call list
  13. *
  14. * @param array[] $calls list of calls to be appended
  15. */
  16. public function writeCalls($calls);
  17. /**
  18. * Explicit request to finish up and clean up NOW!
  19. * (probably because document end has been reached)
  20. *
  21. * If part of a CallWriter chain, call finalise on
  22. * the original call writer
  23. *
  24. */
  25. public function finalise();
  26. }