EpubContainer
in package
Transform `container.xml` file to an object.
Table of Contents
Properties
Methods
- getOpfPath() : string|null
- getVersion() : string|null
- make() : self
- toArray() : array<string|int, mixed>
- __construct() : mixed
- parseOpfPath() : string|null
Properties
$opfPath
protected
string|null
$opfPath
= null
$version
protected
string|null
$version
= null
$xml
protected
XmlReader
$xml
Methods
getOpfPath()
public
getOpfPath() : string|null
Return values
string|nullgetVersion()
public
getVersion() : string|null
Return values
string|nullmake()
public
static make(string $content) : self
Parameters
- $content : string
Return values
selftoArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>__construct()
protected
__construct(XmlReader $xml) : mixed
Parameters
- $xml : XmlReader
parseOpfPath()
private
parseOpfPath() : string|null