Passed
Push — master ( 20e747...679572 )
by Ivan
01:59
created

ManualMatchExtension::getMatches()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace Everlution\Navigation\Extension;
6
7
/**
8
 * Class ManualMatchNavigationItem.
9
 * @author Ivan Barlog <[email protected]>
10
 */
11
trait ManualMatchExtension
12
{
13
    /** @var array */
14
    private $matches = [];
15
16
    /**
17
     * @return array
18
     */
19
    public function getMatches(): array
20
    {
21
        return $this->matches;
22
    }
23
24
    /**
25
     * @param array $matches
26
     *
27
     * @return $this
28
     */
29
    public function setMatches(array $matches)
30
    {
31
        $this->matches = $matches;
32
33
        return $this;
34
    }
35
}
36