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

TestFlushable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1
lcom 1
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A flush() 0 4 1
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