Interface FieldInterface
Describes a getter and a setter for the a field property. Useful for expressions that contain an identifier to compare against.
Namespace: Cake\Database\Expression
Method Summary
-
getField() public
Returns the field name
-
setField() public
Sets the field name
Method Detail
getField() ¶ public
getField(): Cake\Database\ExpressionInterface|array|string
Returns the field name
Returns
Cake\Database\ExpressionInterface|array|string
setField() ¶ public
setField(Cake\Database\ExpressionInterface|array|string $field): void
Sets the field name
Parameters
-
Cake\Database\ExpressionInterface|array|string
$field The field to compare with.
Returns
void