silverstripe-framework/tests/php/Control/FlushMiddlewareTest/TestFlushable.php

17 lines
301 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\Control\Tests\FlushMiddlewareTest;
2016-10-14 03:30:05 +02:00
use SilverStripe\Core\Flushable;
use SilverStripe\Dev\TestOnly;
class TestFlushable implements Flushable, TestOnly
{
public static $flushed = false;
2016-10-14 03:30:05 +02:00
public static function flush()
{
self::$flushed = true;
}
2016-10-14 03:30:05 +02:00
}