Completed
Push — 6.13 ( fb0043...d86c76 )
by André
18:03
created

CompoundStub   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A match() 0 4 1
A reverseMatch() 0 4 1
1
<?php
2
3
/**
4
 * @copyright Copyright (C) eZ Systems AS. All rights reserved.
5
 * @license For full copyright and license information view LICENSE file distributed with this source code.
6
 */
7
declare(strict_types=1);
8
9
namespace eZ\Publish\Core\MVC\Symfony\Component\Tests\Serializer\Stubs;
10
11
use eZ\Publish\API\Repository\Exceptions\NotImplementedException;
12
use eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Compound;
13
14
final class CompoundStub extends Compound
15
{
16
    public function __construct(array $subMatchers)
17
    {
18
        parent::__construct([]);
19
        $this->subMatchers = $subMatchers;
20
    }
21
22
    public function match()
23
    {
24
        throw new NotImplementedException(__METHOD__);
25
    }
26
27
    public function reverseMatch($siteAccessName)
28
    {
29
        throw new NotImplementedException(__METHOD__);
30
    }
31
}
32