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