DefaultGenerator
in package
This generator returns a default value for all called properties and methods.
Tags
Table of Contents
Properties
- $default : mixed
Methods
- __call() : mixed
- __construct() : mixed
- __get() : mixed
- ext() : mixed
Properties
$default
protected
mixed
$default
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
ext()
public
ext() : mixed