Parameter
Less than 1 minute
Parameter
Represents a parameter for a database procedure or function in migration actions.
class Parameter extends \Hazaar\DBI\Manager\Migration\Action\Component\BaseComponentExtends: Hazaar\DBI\Manager\Migration\Action\Component\BaseComponent
Encapsulates parameter attributes such as name, type, mode, and ordinal position.
Properties
name
The name of the parameter.
public string $nameType: string
type
The data type of the parameter.
public string $typeType: string
mode
The mode of the parameter (e.g., IN, OUT, INOUT).
public string $modeType: string
ordinal_position
The ordinal position of the parameter in the parameter list.
public int $ordinal_positionType: int
Methods
construct
Initializes the parameter from the provided data.
protected construct(mixed $data): voidReturns: void
If the data is a string, it is converted to an array with the name set to the string value.
Parameters
| Parameter | Type | Description |
|---|---|---|
$data | mixed | The data to initialize the parameter from. Modified by reference. |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:16 +0000