ELP Parser API

Asset
in package
implements JsonSerializable

FinalYes

Typed wrapper around parsed asset data.

Table of Contents

Interfaces

JsonSerializable

Properties

$data  : array<string, mixed>

Methods

__construct()  : mixed
getOccurrences()  : int
getPath()  : string
getType()  : string
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>

Parsed asset data.

getOccurrences()

public getOccurrences() : int
Return values
int

getPath()

public getPath() : string
Return values
string

getType()

public getType() : string
Return values
string

jsonSerialize()

public jsonSerialize() : mixed

toArray()

public toArray() : array<string, mixed>
Return values
array<string, mixed>
On this page

Search results