Definition
in
Interface Definition
Table of Contents
- addArgument() : $this
- Adds a new constructor argument to a type definition.
- addArguments() : $this
- Adds constructor arguments to a type definition.
Methods
addArgument()
Adds a new constructor argument to a type definition.
public
addArgument(mixed $arg) : $this
Parameters
- $arg : mixed
Return values
$this —addArguments()
Adds constructor arguments to a type definition.
public
addArguments(array<string|int, mixed> $args) : $this
Parameters
- $args : array<string|int, mixed>