Completed
Push — master ( 30d679...ef761f )
by Adam
07:29
created

Yaml   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 12
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A parse() 0 4 1
1
<?php namespace
2
3
BestServedCold\PhalueObjects\Format;
4
5
use BestServedCold\PhalueObjects\Format;
6
use Symfony\Component\Yaml\Yaml as SymfonyYaml;
7
8
/**
9
 * Class Yaml
10
 * @package BestServedCold\PhalueObjects\File
11
 */
12
final class Yaml extends Format
13
{
14
    /**
15
     * Parse
16
     *
17
     * @return array
18
     */
19
    public function parse()
20
    {
21
        return SymfonyYaml::parse($this->getValue());
22
    }
23
}
24