Holds a token.

package phing.filters

 Methods

Sets the token value from text.

addText(string $value) 

Parameters

$value

string

The value for this token. Must not be null.

Returns the key for this token.

getKey() : string

Returns

stringThe key for this token.

Returns the value for this token.

getValue() : string

Returns

stringThe value for this token.

Sets the token key.

setKey(string $key) 

Parameters

$key

string

The key for this token. Must not be null.

Sets the token value.

setValue(string $value) 

Parameters

$value

string

The value for this token. Must not be null.

 Properties

 

$_key : string
 

$_value : string