Completed
Push — master ( daed8c...cf758d )
by Damian
08:03
created

TestFlushable::flush()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace SilverStripe\Control\Tests\FlushMiddlewareTest;
4
5
use SilverStripe\Core\Flushable;
6
use SilverStripe\Dev\TestOnly;
7
8
class TestFlushable implements Flushable, TestOnly
9
{
10
    public static $flushed = false;
11
12
    public static function flush()
13
    {
14
        self::$flushed = true;
15
    }
16
}
17