Completed
Push — master ( 1bd818...6fba0f )
by Richard
02:31
created

Attr   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 3 1
1
<?php
2
namespace Transphporm\Property\ContentPseudo;
3
class Attr implements \Transphporm\Property\ContentPseudo {
4
    public function run($value, $pseudoArgs, $element) {
5
        $element->setAttribute($pseudoArgs, implode('', $value));
6
    }
7
}
8