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

Attr::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 3
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