class DefaultGenerator

This generator returns a default value for all called properties and methods. It works with Poppy\Faker\Generator\Base->optional().

Properties

protected $default

Methods

__construct($default = null)

No description

mixed
__get(string $attribute)

No description

mixed
__call(string $method, array $attributes)

No description

Details

at line 13
__construct($default = null)

No description

Parameters

$default

at line 23
mixed __get(string $attribute)

No description

Parameters

string $attribute

Return Value

mixed

at line 34
mixed __call(string $method, array $attributes)

No description

Parameters

string $method
array $attributes

Return Value

mixed