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

`string`The key for this token.

## Returns the value for this token.

    getValue() : string

### Returns

`string`The 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