Trait FieldTrait
Contains the field property with a getter and a setter for it
Namespace: Cake\Database\Expression
Property Summary
-
$_field protected
stringCake\Database\ExpressionInterface
The field name or expression to be used in the left hand side of the operator
Method Summary
-
getField() public
Returns the field name
-
setField() public
Sets the field name
Method Detail
getField() ¶ public
getField(): stringCake\Database\ExpressionInterface
Returns the field name
Returns
stringCake\Database\ExpressionInterface
setField() ¶ public
setField(stringCake\Database\ExpressionInterface $field): void
Sets the field name
Parameters
-
stringCake\Database\ExpressionInterface
$field The field to compare with.
Returns
void
Property Detail
$_field ¶ protected
The field name or expression to be used in the left hand side of the operator
Type
stringCake\Database\ExpressionInterface