Completed
Push — master ( 9b78f7...5dcb4f )
by Andreas
08:15 queued 03:39
created

Revisions::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 5
nc 1
nop 0
dl 0
loc 7
rs 9.4285
c 1
b 1
f 0
1
<?php
2
3
namespace dokuwiki\Menu\Item;
4
5
/**
6
 * Class Revisions
7
 *
8
 * Access the old revisions of the current page
9
 */
10
class Revisions extends AbstractItem {
11
12
    /** @inheritdoc */
13
    public function __construct() {
14
        parent::__construct();
15
16
        $this->accesskey = 'o';
17
        $this->type = 'revs';
18
        $this->svg = DOKU_INC . 'lib/images/menu/07-revisions_history.svg';
19
    }
20
21
}
22