mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-30 22:37:42 +02:00
21 lines
504 B
PHP
21 lines
504 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Provides an interface for classes to implement their own flushing functionality
|
||
|
* whenever flush=1 is requested.
|
||
|
*
|
||
|
* @package framework
|
||
|
* @subpackage core
|
||
|
*/
|
||
|
interface Flushable {
|
||
|
|
||
|
/**
|
||
|
* This function is triggered early in the request if the "flush" query
|
||
|
* parameter has been set. Each class that implements Flushable implements
|
||
|
* this function which looks after it's own specific flushing functionality.
|
||
|
*
|
||
|
* @see FlushRequestFilter
|
||
|
*/
|
||
|
public static function flush();
|
||
|
|
||
|
}
|