1 | <?php |
||
18 | class TextInformationFrame |
||
19 | { |
||
20 | /** |
||
21 | * @var Stream |
||
22 | */ |
||
23 | protected $stream; |
||
24 | |||
25 | /** |
||
26 | * @var int |
||
27 | */ |
||
28 | protected $version; |
||
29 | |||
30 | /** |
||
31 | * Create ID3v2 header metadata object. |
||
32 | * |
||
33 | * @param Stream $stream |
||
34 | * @param int $version |
||
35 | */ |
||
36 | public function __construct(Stream $stream, $version) |
||
41 | |||
42 | /** |
||
43 | * Read text encoding. |
||
44 | * |
||
45 | * @return int |
||
46 | */ |
||
47 | public function readTextEncoding() |
||
53 | |||
54 | /** |
||
55 | * Read information. |
||
56 | * |
||
57 | * @param int $textEncoding |
||
58 | * |
||
59 | * @return string |
||
60 | */ |
||
61 | public function readInformation($textEncoding) |
||
80 | } |
||
81 |