Completed
Push — master ( 7bef7a...470c23 )
by Richard
07:03
created

Namespaces   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 15
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A id() 0 3 1
A meaning() 0 3 1
1
<?php
2
/******************************************************************************
3
 * An implementation of dicto (scg.unibe.ch/dicto) in and for PHP.
4
 * 
5
 * Copyright (c) 2016 Richard Klees <[email protected]>
6
 *
7
 * This software is licensed under The MIT License. You should have received 
8
 * a copy of the license along with the code.
9
 */
10
11
namespace Lechimp\Dicto\Variables;
12
13
class Namespaces extends Entities {
14
    /**
15
     * @inheritdoc
16
     */
17 2
    public function id() {
18 2
        return Variable::NAMESPACE_TYPE;
19
    }
20
21
    /**
22
     * @inheritdoc
23
     */
24 43
    public function meaning() {
25 43
        return "namespaces";
26
    }
27
}
28
29