For compliance with the new version of the table interface policy (T255803). This patch was created by an automated search & replace operation on the includes/ directory. Bug: T257789 Change-Id: I17e5e92e24c708ffc846945a136347670a3a20c7
24 lines
672 B
PHP
24 lines
672 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Hook;
|
|
|
|
use OutputPage;
|
|
|
|
/**
|
|
* @stable to implement
|
|
* @ingroup Hooks
|
|
*/
|
|
interface AfterFinalPageOutputHook {
|
|
/**
|
|
* This hook is called nearly at the end of OutputPage::output() but
|
|
* before OutputPage::sendCacheControl() and final ob_end_flush() which
|
|
* will send the buffered output to the client. This allows for last-minute
|
|
* modification of the output within the buffer by using ob_get_clean().
|
|
*
|
|
* @since 1.35
|
|
*
|
|
* @param OutputPage $output The OutputPage object where output() was called
|
|
* @return void This hook must not abort, it must return no value
|
|
*/
|
|
public function onAfterFinalPageOutput( $output ) : void;
|
|
}
|