classes/phing/types/TokenSource.php
\TokenSource
A parameter is composed of a name, type and value.
Example of usage:
or:
- Extends from
- \DataType
- author
- Yannick Lecaillez
- package
- phing.types
- version
- $Revision: 526 $
Properties

string
$classname= 'null'
String to hold the path to the TokenReader
nullDetails- Type
- string

array
$parameters= 'array'
Array holding parameters for the wrapped TokenReader.
arrayDetails- Type
- array

\TokenReader
$reader= ''
Reference to the TokenReader used by this TokenSource
- Type
- \TokenReader
Methods

configureTokenReader(
\TokenReader $reader
)
:
Configures a TokenReader with the parameters passed to the
TokenSource.
| Name | Type | Description |
|---|---|---|
| $reader | \TokenReader |

createParam(
)
:
\ParameterCreate nested tag.
Uses standard name/value Parameter class.
| Type | Description |
|---|---|
| \Parameter |

getClassname(
)
:
stringReturns the qualified classname (dot-path) to use for handling token replacement.
| Type | Description |
|---|---|
| string |

getTokens(
)
:
This function uses the wrapper to read the tokens and then
returns them.
- access
- public