Completed
Push — id3-metadata-objects ( 33018f...0cc3db )
by Daniel
07:46
created

TextFrame::getTexts()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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