BaseObject
extends Base
in package
Table of Contents
Properties
- $array : array<string|int, mixed>
Methods
- equals() : bool
- fromArray() : Base<TypeStored, TypeAccessed>
- fromYamlFile() : Base<TypeStored, TypeAccessed>
- __construct() : mixed
Properties
$array
public
array<string|int, mixed>
$array
Methods
equals()
public
equals(Base $other) : bool
Parameters
- $other : Base
Return values
boolfromArray()
public
static fromArray(array<string|int, mixed> $array) : Base<TypeStored, TypeAccessed>
Parameters
- $array : array<string|int, mixed>
Return values
Base<TypeStored, TypeAccessed>fromYamlFile()
public
static fromYamlFile(string $pathToFile) : Base<TypeStored, TypeAccessed>
Parameters
- $pathToFile : string
Tags
Return values
Base<TypeStored, TypeAccessed>__construct()
protected
__construct(array<string|int, mixed> $config) : mixed
Parameters
- $config : array<string|int, mixed>