Completed
Push — master ( 534932...26bda2 )
by Jan-Petter
02:41
created

noarchive   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getArray() 0 4 1
1
<?php
2
3
namespace vipnytt\XRobotsTagParser\directives;
4
5
6
final class noarchive implements directiveInterface
7
{
8
    const DIRECTIVE = 'noarchive';
9
10
    public function __construct($value = null)
11
    {
12
    }
13
14
    public function getArray()
15
    {
16
        return [self::DIRECTIVE => true];
17
    }
18
}