Documentation

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

Methods

fromArray()

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
throws
BaseException

if YAML does not parse to an array

Return values
Base<TypeStored, TypeAccessed>

__construct()

protected __construct(array<string|int, mixed> $config) : mixed
Parameters
$config : array<string|int, mixed>

        
On this page

Search results