Add support attributes
Gemorroj opened this issue · 2 comments
Gemorroj commented
Add support read any attributes. For a start, only for EXTINF
tag.
Plan:
- add trait that implements attributes
- minimal php version 5.4 (because trait)
Possible trait interface:
public getAttributes(): array // key => value
public getAttribute(string $name): string|null
protected init(string $attrString): void
Gemorroj commented
Need update documentation
Gemorroj commented
fixed