Project
in package
implements
JsonSerializable
FinalYes
Typed project facade backed by the detailed parser representation.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $data : array<string, mixed>
Methods
- __construct() : mixed
- fromParser() : self
- getAssets() : array<int, Asset>
- getFormatFamily() : string
- getFormatVersion() : string|null
- getPages() : array<int, Page>
- getTitle() : string
- getVersionInfo() : VersionInfo
- jsonSerialize() : mixed
- toArray() : array<string, mixed>
Properties
$data
private
array<string, mixed>
$data
Methods
__construct()
public
__construct(array<string, mixed> $data) : mixed
Parameters
- $data : array<string, mixed>
-
Detailed project data.
fromParser()
public
static fromParser(ELPParser $parser) : self
Parameters
- $parser : ELPParser
Return values
selfgetAssets()
public
getAssets() : array<int, Asset>
Return values
array<int, Asset>getFormatFamily()
public
getFormatFamily() : string
Return values
stringgetFormatVersion()
public
getFormatVersion() : string|null
Return values
string|nullgetPages()
public
getPages() : array<int, Page>
Return values
array<int, Page>getTitle()
public
getTitle() : string
Return values
stringgetVersionInfo()
public
getVersionInfo() : VersionInfo
Return values
VersionInfojsonSerialize()
public
jsonSerialize() : mixed
toArray()
public
toArray() : array<string, mixed>