Completed
Push — id3-metadata-objects ( 491068...1cf97b )
by Daniel
09:08
created

Frame::setContent()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
ccs 0
cts 3
cp 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * This file is part of the Metadata package.
4
 *
5
 * @author Daniel Schröder <[email protected]>
6
 */
7
8
namespace GravityMedia\Metadata\ID3v2;
9
10
/**
11
 * ID3v2 frame class.
12
 *
13
 * @package GravityMedia\Metadata
14
 */
15
class Frame
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $name;
21
22
    /**
23
     * Get name.
24
     *
25
     * @return string
26
     */
27
    public function getName()
28
    {
29
        return $this->name;
30
    }
31
32
    /**
33
     * Set name.
34
     *
35
     * @param string $name
36
     *
37
     * @return $this
38
     */
39
    public function setName($name)
40
    {
41
        $this->name = $name;
42
43
        return $this;
44
    }
45
}
46