Completed
Push — ezp_31810 ( 8f2282 )
by
unknown
19:03
created

MatcherStub   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 25
rs 10
c 0
b 0
f 0
wmc 4
lcom 0
cbo 1

4 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A setRequest() 0 4 1
A match() 0 4 1
A getName() 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\Routing\SimplifiedRequest;
13
use eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher;
14
15
final class MatcherStub implements Matcher
16
{
17
    /** @var mixed */
18
    private $data;
19
20
    public function __construct($data = null)
21
    {
22
        $this->data = $data;
23
    }
24
25
    public function setRequest(SimplifiedRequest $request)
26
    {
27
        throw new NotImplementedException(__METHOD__);
28
    }
29
30
    public function match()
31
    {
32
        throw new NotImplementedException(__METHOD__);
33
    }
34
35
    public function getName()
36
    {
37
        throw new NotImplementedException(__METHOD__);
38
    }
39
}
40