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

Headers::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 Headers implements \Transphporm\Property\ContentPseudo {
4
    private $headers;
5
6
    public function __construct(&$headers) {
7
		$this->headers = &$headers;
8
	}
9
10
    public function run($value, $pseudoArgs, $element) {
11
        $this->headers[] = [$pseudoArgs, implode('', $value)];
12
    }
13
}
14