Property
in package
Lightweight name-value pair.
Specifies an individual property with a name and value.
Tags
Table of Contents
Properties
- $name : string
- The name of the property. Duplicate names are allowed, each potentially having a different value.
- $value : string
- The value of the property.
Methods
- __construct() : mixed
- getName() : string
- getValue() : string
- setName() : $this
- setValue() : $this
Properties
$name
The name of the property. Duplicate names are allowed, each potentially having a different value.
private
string
$name
$value
The value of the property.
private
string
$value
Methods
__construct()
public
__construct(string $name, string $value) : mixed
Parameters
- $name : string
- $value : string
getName()
public
getName() : string
Return values
stringgetValue()
public
getValue() : string
Return values
stringsetName()
public
setName(string $name) : $this
Parameters
- $name : string
Return values
$thissetValue()
public
setValue(string $value) : $this
Parameters
- $value : string