Completed
Push — master ( 1fb20e...ed756f )
by yuuki
9s
created

NullAspectKernel   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
c 0
b 0
f 0
lcom 0
cbo 0
dl 0
loc 27
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 4 1
A weave() 0 4 1
A dispatch() 0 4 1
1
<?php
2
3
/**
4
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
8
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
9
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
10
 * THE SOFTWARE.
11
 *
12
 * This software consists of voluntary contributions made by many individuals
13
 * and is licensed under the MIT license.
14
 *
15
 * Copyright (c) 2015-2016 Yuuki Takezawa
16
 *
17
 */
18
namespace Ytake\LaravelAspect;
19
20
/**
21
 * Class NullAspectKernel
22
 */
23
class NullAspectKernel implements AspectDriverInterface
24
{
25
    /**
26
     * @param null $module
27
     */
28
    public function register($module = null)
29
    {
30
        // nothing
31
    }
32
33
    /**
34
     * weaving
35
     */
36
    public function weave()
37
    {
38
        // nothing
39
    }
40
41
    /**
42
     * @deprecated
43
     * boot aspect kernel
44
     */
45
    public function dispatch()
46
    {
47
        // nothing
48
    }
49
}
50