1 | <?php |
||
19 | class Tag implements TagInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var Header |
||
23 | */ |
||
24 | protected $header; |
||
25 | |||
26 | /** |
||
27 | * @var ExtendedHeader |
||
28 | */ |
||
29 | protected $extendedHeader; |
||
30 | |||
31 | /** |
||
32 | * @var \ArrayObject |
||
33 | */ |
||
34 | protected $frames; |
||
35 | |||
36 | /** |
||
37 | * Create tag object. |
||
38 | * |
||
39 | * @param Header $header |
||
40 | */ |
||
41 | public function __construct(Header $header) |
||
46 | |||
47 | /** |
||
48 | * Set extended header |
||
49 | * |
||
50 | * @param ExtendedHeader $extendedHeader |
||
51 | * |
||
52 | * @throws BadMethodCallException An exception is thrown on ID3 v2.2 tag |
||
53 | * |
||
54 | * @return $this |
||
55 | */ |
||
56 | public function setExtendedHeader(ExtendedHeader $extendedHeader) |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function getVersion() |
||
74 | |||
75 | /** |
||
76 | * {@inheritdoc} |
||
77 | */ |
||
78 | public function getTitle() |
||
82 | |||
83 | /** |
||
84 | * {@inheritdoc} |
||
85 | */ |
||
86 | public function getArtist() |
||
90 | |||
91 | /** |
||
92 | * {@inheritdoc} |
||
93 | */ |
||
94 | public function getAlbum() |
||
98 | |||
99 | /** |
||
100 | * {@inheritdoc} |
||
101 | */ |
||
102 | public function getYear() |
||
106 | |||
107 | /** |
||
108 | * {@inheritdoc} |
||
109 | */ |
||
110 | public function getComment() |
||
114 | |||
115 | /** |
||
116 | * {@inheritdoc} |
||
117 | */ |
||
118 | public function getTrack() |
||
122 | |||
123 | /** |
||
124 | * {@inheritdoc} |
||
125 | */ |
||
126 | public function getGenre() |
||
130 | |||
131 | /** |
||
132 | * {@inheritdoc} |
||
133 | */ |
||
134 | public function getFrames() |
||
138 | } |
||
139 |