Completed
Push — master ( 902e66...0cbd7a )
by Jan-Petter
02:44
created

InlineCleanParamParser   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 1
cbo 2
dl 0
loc 20
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A client() 0 4 1
1
<?php
2
namespace vipnytt\RobotsTxtParser\Parser\Directives;
3
4
use vipnytt\RobotsTxtParser\Client\Directives\CleanParamClient;
5
use vipnytt\RobotsTxtParser\Client\Directives\InlineCleanParamClient;
6
7
/**
8
 * Class InlineCleanParamParser
9
 *
10
 * @package vipnytt\RobotsTxtParser\Parser\Directives
11
 */
12
class InlineCleanParamParser extends CleanParamParserCore
13
{
14
    /**
15
     * InlineCleanParamParser constructor.
16
     */
17
    public function __construct()
18
    {
19
        parent::__construct();
20
    }
21
22
    /**
23
     * Client
24
     *
25
     * @return CleanParamClient
26
     */
27
    public function client()
28
    {
29
        return new InlineCleanParamClient($this->cleanParam);
30
    }
31
}
32