Completed
Push — master ( 97a535...5d395b )
by Carlos C
14:54 queued 02:21
created

OptionsProperty   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 1
cbo 0
dl 0
loc 23
ccs 6
cts 6
cp 1
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A optionAllowNullMembers() 0 4 1
A optionUniqueValues() 0 4 1
A optionComparisonIsIdentical() 0 4 1
1
<?php namespace GenericCollections\Traits;
2
3
use GenericCollections\Options;
4
5
/**
6
 * Class OptionsProperty
7
 * used in almost every first level class
8
 *
9
 * @package GenericCollections\Traits
10
 */
11
trait OptionsProperty
12
{
13
    /**
14
     * Options object
15
     * @var Options
16
     */
17
    private $options;
18
19 336
    public function optionAllowNullMembers()
20
    {
21 336
        return $this->options->optionAllowNullMembers();
22
    }
23
24 333
    public function optionUniqueValues()
25
    {
26 333
        return $this->options->optionUniqueValues();
27
    }
28
29 321
    public function optionComparisonIsIdentical()
30
    {
31 321
        return $this->options->optionComparisonIsIdentical();
32
    }
33
}
34