mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-07 10:11:17 +02:00
Namespace all templates Move difflib and BBCodeParser2 to thirdparty Remove deprecated API marked for removal in 4.0
21 lines
490 B
PHP
21 lines
490 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Core;
|
|
|
|
/**
|
|
* Provides an interface for classes to implement their own flushing functionality
|
|
* whenever flush=1 is requested.
|
|
*/
|
|
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();
|
|
|
|
}
|