1 | <?php |
||
17 | class StreamContainer |
||
18 | { |
||
19 | /** |
||
20 | * @var Stream |
||
21 | */ |
||
22 | private $stream; |
||
23 | |||
24 | /** |
||
25 | * @var int |
||
26 | */ |
||
27 | private $offset; |
||
28 | |||
29 | /** |
||
30 | * Create ID3v2 stream container object. |
||
31 | * |
||
32 | * @param Stream $stream |
||
33 | */ |
||
34 | public function __construct(Stream $stream) |
||
39 | |||
40 | /** |
||
41 | * Get stream. |
||
42 | * |
||
43 | * @return Stream |
||
44 | */ |
||
45 | protected function getStream() |
||
49 | |||
50 | /** |
||
51 | * Get offset. |
||
52 | * |
||
53 | * @return int |
||
54 | */ |
||
55 | protected function getOffset() |
||
59 | } |
||
60 |