Completed
Push — master ( a99326...c9c193 )
by Kevin
08:54
created

Cookie   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 23
ccs 0
cts 3
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A set() 0 11 1
1
<?php
2
namespace Aoe\Varnish\System;
3
4
class Cookie
5
{
6
    /**
7
     * @param $name
8
     * @param null $value
9
     * @param null $expire
10
     * @param null $path
11
     * @param null $domain
12
     * @param null $secure
13
     * @param null $httponly
14
     */
15
    public function set(
16
        $name,
17
        $value = null,
18
        $expire = null,
19
        $path = null,
20
        $domain = null,
21
        $secure = null,
22
        $httponly = null
23
    ) {
24
        setcookie($name, $value, $expire, $path, $domain, $secure, $httponly);
25
    }
26
}
27