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

OptionsProperty::optionComparisonIsIdentical()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 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