# types/TokenReader.php

## \TokenReader
jump to top

Package: phing\filters\util

Abstract class for TokenReaders.

Children
  \IniFileTokenReader
Author
  Manuel Holtgewe
Version
  $Revision: 526 $

### Properties

`\Project $project= ''`

Reference to the Project the TokenReader is used in.

Details

Type
  \Project

### Methods

`__construct( object $project ) : void`

Constructor

Parameters

Name | Type | Description
--- | --- | ---
$project | object | Reference to the project the TokenReader is used in.

`log( $level, $msg ) : void`

Utility function for logging

Parameters

Name | Type | Description
--- | --- | ---
$level |  |
$msg |  |

`readToken( ) : string`
abstract

Reads the next token from the Reader

Returns

Type | Description
--- | ---
string |

Throws

Exception | Description
--- | ---
\IOException | - On error

Documentation was generated by DocBlox 0.17.1.