FieldTrait
Contains the field property with a getter and a setter for it
Table of Contents
Properties
- $_field : ExpressionInterface|array<string|int, mixed>|string
- The field name or expression to be used in the left hand side of the operator
Methods
- getField() : ExpressionInterface|array<string|int, mixed>|string
- Returns the field name
- setField() : void
- Sets the field name
Properties
$_field
The field name or expression to be used in the left hand side of the operator
protected
ExpressionInterface|array<string|int, mixed>|string
$_field
Methods
getField()
Returns the field name
public
getField() : ExpressionInterface|array<string|int, mixed>|string
Return values
ExpressionInterface|array<string|int, mixed>|stringsetField()
Sets the field name
public
setField(ExpressionInterface|array<string|int, mixed>|string $field) : void
Parameters
- $field : ExpressionInterface|array<string|int, mixed>|string
-
The field to compare with.