Completed
Push — psr2 ( b196d8...ccc4c7 )
by Andreas
05:58 queued 03:07
created

Server::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace dokuwiki\Input;
4
5
/**
6
 * Internal class used for $_SERVER access in dokuwiki\Input\Input class
7
 */
8
class Server extends Input
9
{
10
11
    /** @noinspection PhpMissingParentConstructorInspection
12
     * Initialize the $access array, remove subclass members
13
     */
14
    public function __construct()
15
    {
16
        $this->access = &$_SERVER;
17
    }
18
19
}
20