ClassUtils::getParser()   A
last analyzed

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 0
1
<?php
2
3
namespace Padawan\Framework\Utils;
4
5
use \Padawan\Parser\Parser;
6
7
class ClassUtils {
8
    private $path;
9
    private $parser;
10
11
    public function __construct(PathResolver $path, Parser $parser) {
12
        $this->path = $path;
13
        $this->parser = $parser;
14
    }
15
    /** @return Parser */
16
    public function getParser() {
17
        return $this->parser;
18
    }
19
}
20