1be906b56SAndreas Gohr<?php 2be906b56SAndreas Gohr 3be906b56SAndreas Gohrnamespace dokuwiki\Parsing\Handler; 4be906b56SAndreas Gohr 5be906b56SAndreas Gohrinterface CallWriterInterface 6be906b56SAndreas Gohr{ 7661c1ddcSChristopher Smith /** 8661c1ddcSChristopher Smith * Add a call to our call list 9661c1ddcSChristopher Smith * 10*533aca44SAndreas Gohr * @param array $call the call to be added 11661c1ddcSChristopher Smith */ 12be906b56SAndreas Gohr public function writeCall($call); 13661c1ddcSChristopher Smith 14661c1ddcSChristopher Smith /** 15661c1ddcSChristopher Smith * Append a list of calls to our call list 16661c1ddcSChristopher Smith * 17*533aca44SAndreas Gohr * @param array[] $calls list of calls to be appended 18661c1ddcSChristopher Smith */ 19be906b56SAndreas Gohr public function writeCalls($calls); 20661c1ddcSChristopher Smith 21661c1ddcSChristopher Smith /** 22661c1ddcSChristopher Smith * Explicit request to finish up and clean up NOW! 23661c1ddcSChristopher Smith * (probably because document end has been reached) 24661c1ddcSChristopher Smith * 25661c1ddcSChristopher Smith * If part of a CallWriter chain, call finalise on 26661c1ddcSChristopher Smith * the original call writer 27661c1ddcSChristopher Smith * 28661c1ddcSChristopher Smith */ 29be906b56SAndreas Gohr public function finalise(); 30be906b56SAndreas Gohr} 31