Completed
Pull Request — master (#16)
by Nikola
01:29
created

AopComposerLoader   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
c 0
b 0
f 0
lcom 0
cbo 0
dl 0
loc 11
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A init() 0 1 1
A wasInitialized() 0 4 1
1
<?php
2
/**
3
 * Go! AOP framework
4
 *
5
 * @copyright Copyright 2015, Lisachenko Alexander <[email protected]>
6
 *
7
 * This source file is subject to the license that is bundled
8
 * with this source code in the file LICENSE.
9
 */
10
11
namespace Go\Instrument\ClassLoading;
12
13
/**
14
 * Class AopComposerLoader
15
 *
16
 * A mock class for testing initialization flow.
17
 */
18
class AopComposerLoader
19
{
20
    public static $initialized = true;
21
22
    public static function init() { /* noop */ }
23
24
    public static function wasInitialized()
25
    {
26
        return self::$initialized;
27
    }
28
}
29