Documentation

Base
in package
implements ArrayAccess, Iterator, Countable uses ImmutableIterableArray

AbstractYes
Tags
template

TypeKey

template

TypeStored

template

TypeAccessed

implements

ArrayAccess<TypeKey, TypeAccessed>

implements

Iterator<TypeKey, TypeAccessed>

Table of Contents

Interfaces

ArrayAccess
Iterator
Countable

Methods

equals()  : bool
fromArray()  : Base<TypeStored, TypeAccessed>
fromYamlFile()  : Base<TypeStored, TypeAccessed>
__construct()  : mixed

Methods

equals()

public abstract equals(Base<TypeStored, TypeAccessed$other) : bool
Parameters
$other : Base<TypeStored, TypeAccessed>
Return values
bool

fromArray()

public abstract static fromArray(array<string, mixed> $array) : Base<TypeStored, TypeAccessed>
Parameters
$array : array<string, 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 abstract __construct(array<string, mixed> $config) : mixed
Parameters
$config : array<string, mixed>

        
On this page

Search results