function Property::setKind
Sets the property kind that is one of the kind constants
Parameters
string $kind Property kind:
Return value
$this
1 method overrides Property::setKind()
- AssignmentProperty::setKind in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ AssignmentProperty.php - Sets the property kind that is one of the kind constants
File
-
vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ Property.php, line 158
Class
- Property
- A node that represents a property in an object literal. For example "b" in: a = {b: 1}
Namespace
Peast\Syntax\NodeCode
public function setKind($kind) {
$this->kind = $kind;
return $this;
}