ClassesConfiguration

Table of Contents

Methods

__construct()  : mixed
getConfigurationFor()  : array<string|int, mixed>|null
getSubClasses()  : array<string|int, mixed>
Resolves all subclasses for the given set of (sub-)classes.
hasClass()  : bool

Methods

__construct()

public __construct(array<string|int, mixed> $configuration) : mixed
Parameters
$configuration : array<string|int, mixed>

getConfigurationFor()

public getConfigurationFor(string $className) : array<string|int, mixed>|null
Parameters
$className : string
Return values
array<string|int, mixed>|null

getSubClasses()

Resolves all subclasses for the given set of (sub-)classes.

public getSubClasses(string $className) : array<string|int, mixed>

The whole classes configuration is used to determine all subclasses recursively.

Parameters
$className : string
Return values
array<string|int, mixed>

A numeric array that contains all available subclasses-strings as values.

hasClass()

public hasClass(string $className) : bool
Parameters
$className : string
Return values
bool

        
On this page

Search results