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\BaseComponentEncapsulates parameter attributes such as name, type, mode, and ordinal position.
Properties
name
The name of the parameter.
public string $nametype
The data type of the parameter.
public string $typemode
The mode of the parameter (e.g., IN, OUT, INOUT).
public string $modeordinal_position
The ordinal position of the parameter in the parameter list.
public int $ordinal_positionMethods
construct
Initializes the parameter from the provided data.
protected construct(mixed $data): voidIf 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 Tue, 21 Apr 2026 04:00:24 +0000