ModStub   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 38
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A key() 0 4 1
A value() 0 4 1
1
<?php
2
3
namespace LaravelLangBundler\BundleItems;
4
5
class ModStub extends ItemWrapper
6
{
7
    /*
8
    |--------------------------------------------------------------------------
9
    | ItemWrapper Classes
10
    |--------------------------------------------------------------------------
11
    |
12
    | These classes are used to modify the returned key and value for a specific
13
    | bundle item. The classname must end with 'Wrapper' and both key and value
14
    | logic should be included. If one is not necessary, simply return the
15
    | $key/$value. Parameters for wrapper classes are stored on the parent as
16
    | $wrapperParameters.
17
    */
18
19
    /**
20
     * Alter key and return.
21
     *
22
     * @param string $key
23
     *
24
     * @return string
25
     */
26
    public function key($key)
27
    {
28
        //
29
    }
30
31
    /**
32
     * Alter value and return.
33
     *
34
     * @param mixed $value
35
     *
36
     * @return mixed
37
     */
38
    public function value($value)
39
    {
40
        //
41
    }
42
}
43