HumHub Documentation (unofficial)

DefaultGenerator
in package

This generator returns a default value for all called properties and methods.

Tags
mixin

Generator

deprecated

Use ChanceGenerator instead

Table of Contents

Properties

$default  : mixed

Methods

__call()  : mixed
__construct()  : mixed
__get()  : mixed
ext()  : mixed

Properties

Methods

__call()

public __call(string $method, array<string|int, mixed> $attributes) : mixed
Parameters
$method : string
$attributes : array<string|int, mixed>

__construct()

public __construct([mixed $default = null ]) : mixed
Parameters
$default : mixed = null

__get()

public __get(string $attribute) : mixed
Parameters
$attribute : string
Tags
deprecated

Use a method instead.

Loading…
On this page

Search results