CollectionFactory
in package
Table of Contents
Methods
- createDeepAppList() : AppList
- createDeepAppObject() : AppObject<string|int, mixed>
- fromJson() : array<string, mixed>
- Parse the given JSON file as an associative array.
- prepareRawData() : array<int|string, mixed>
Methods
createDeepAppList()
public
static createDeepAppList(array<int, mixed> $list) : AppList
Parameters
- $list : array<int, mixed>
Return values
AppListcreateDeepAppObject()
public
static createDeepAppObject(array<string, mixed> $dataRaw) : AppObject<string|int, mixed>
Parameters
- $dataRaw : array<string, mixed>
Tags
Return values
AppObject<string|int, mixed>fromJson()
Parse the given JSON file as an associative array.
public
static fromJson(string $filePath) : array<string, mixed>
Parameters
- $filePath : string
-
Path to the JSON file.
Tags
Return values
array<string, mixed>prepareRawData()
private
static prepareRawData(array<string|int, mixed> $dataRaw) : array<int|string, mixed>
Parameters
- $dataRaw : array<string|int, mixed>