ParametersGroupBuilder extends Builder
in package

This is the builder to dinamically create prameters groups.

Tags
see
ParametersGroupBuilder::build()
see
Builder

Table of Contents

$class  : string
$data  : array<string|int, mixed>
__call() Triggered when invoking "property methods" on the extended builders  : mixed
__construct() Elements constructor.  : mixed
build() Returns the created prameters group.  : ParametersGroup
getMainClass()  : string
validBuildClass()  : bool

Properties

$data

protected array<string|int, mixed> $data = []

Methods

__call()

Triggered when invoking "property methods" on the extended builders

public __call(string $name, array<string|int, mixed> $varargs) : mixed
Parameters
$name : string

The name of the triggered method.

$varargs : array<string|int, mixed>

The arguments used on the method. Only one per method accepted.

Tags
throws
BuilderException
Return values
mixed

__construct()

Elements constructor.

public __construct(string $class) : mixed
Parameters
$class : string

The class we want to build with this builder.

Tags
throws
BuilderException
Return values
mixed

validBuildClass()

protected validBuildClass(string $class) : bool
Parameters
$class : string
Return values
bool

Search results