filters/util/IniFileTokenReader.php
Class that allows reading tokens from INI files.
- Author
- Manuel Holtgewe
- Package
- phing.filters.util
- Version
- $Id$
\IniFileTokenReader
Package: phing\filters\util
Class that allows reading tokens from INI files.
- Parent(s)
- \TokenReader
- Author
- Manuel Holtgewe
- Version
- $Id$
Properties


object
$file= 'null'
Holds the path to the INI file that is to be read.
Reference to a PhingFile Object representing the path to the INI file.
Default value
null
Details- Type
- object


\Project
$project= ''
inherited
Reference to the Project the TokenReader is used in.
Inherited from: \TokenReader::$$project
Details
- Type
- \Project
- Inherited_from
- \TokenReader::$$project
Methods


__construct(
object $project
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$project | object | Reference to the project the TokenReader is used in. |


readToken(
)
:
\Token
Reads the next token from the INI file
Returns
Throws
Type | Description |
---|---|
\Token |
Exception | Description |
---|---|
\IOException | On error |