TextValue
extends SearchAttributeKey
in package
FinalYes
Tags
Table of Contents
Properties
- $name : string
Methods
- for() : self
- forBool() : BoolValue
- forDatetime() : DatetimeValue
- forFloat() : FloatValue
- forInteger() : IntValue
- forKeyword() : KeywordValue
- forKeywordList() : KeywordListValue
- forText() : TextValue
- getName() : non-empty-string
- getType() : ValueType
- valueSet() : ValueSet
- valueSet() : SearchAttributeUpdate
- valueUnset() : SearchAttributeUpdate
- __construct() : mixed
- prepareValueSet() : SearchAttributeUpdate
Properties
$name read-only
private
string
$name
Methods
for()
public
static for(ValueType $tryFrom, non-empty-string $name) : self
Parameters
- $tryFrom : ValueType
- $name : non-empty-string
Return values
selfforBool()
public
static forBool(non-empty-string $name) : BoolValue
Parameters
- $name : non-empty-string
Return values
BoolValueforDatetime()
public
static forDatetime(non-empty-string $name) : DatetimeValue
Parameters
- $name : non-empty-string
Return values
DatetimeValueforFloat()
public
static forFloat(non-empty-string $name) : FloatValue
Parameters
- $name : non-empty-string
Return values
FloatValueforInteger()
public
static forInteger(non-empty-string $name) : IntValue
Parameters
- $name : non-empty-string
Return values
IntValueforKeyword()
public
static forKeyword(non-empty-string $name) : KeywordValue
Parameters
- $name : non-empty-string
Return values
KeywordValueforKeywordList()
public
static forKeywordList(non-empty-string $name) : KeywordListValue
Parameters
- $name : non-empty-string
Return values
KeywordListValueforText()
public
static forText(non-empty-string $name) : TextValue
Parameters
- $name : non-empty-string
Return values
TextValuegetName()
public
getName() : non-empty-string
Return values
non-empty-stringgetType()
public
getType() : ValueType
Return values
ValueTypevalueSet()
public
valueSet([mixed $value = ]) : ValueSet
Parameters
- $value : mixed =
Return values
ValueSetvalueSet()
public
valueSet(string|Stringable $value) : SearchAttributeUpdate
Parameters
- $value : string|Stringable
Return values
SearchAttributeUpdatevalueUnset()
public
valueUnset() : SearchAttributeUpdate
Return values
SearchAttributeUpdate__construct()
protected
final __construct(non-empty-string $name) : mixed
Parameters
- $name : non-empty-string
prepareValueSet()
protected
prepareValueSet(mixed $value) : SearchAttributeUpdate
Parameters
- $value : mixed