Completed
Push — EZP-31287 ( fe8c5c...af9523 )
by
unknown
34:01
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
namespace eZ\Publish\Core\MVC\Symfony\Component\Tests\Serializer\Stubs;
8
9
use eZ\Publish\API\Repository\Exceptions\NotImplementedException;
10
use eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Compound;
11
12
final class CompoundStub extends Compound
13
{
14
    public function __construct(array $subMatchers)
15
    {
16
        parent::__construct([]);
17
        $this->subMatchers = $subMatchers;
18
    }
19
20
    public function match()
21
    {
22
        throw new NotImplementedException(__METHOD__);
23
    }
24
25
    public function reverseMatch($siteAccessName)
26
    {
27
        throw new NotImplementedException(__METHOD__);
28
    }
29
}
30