classes/phing/filters/TabToSpaces.php
\TabToSpaces
Converts tabs to spaces.
Example:
Or:
- Extends from
- \BaseParamFilterReader
- Implements
- \ChainableReader
- see
- \BaseParamFilterReader
- author
- Yannick Lecaillez
- author
- Hans Lellelid
- copyright
- © 2003 seasonfive. All rights reserved
- package
- phing.filters
- version
- $Revision: 526 $
Constants
Properties
Methods

chain(
\Reader $reader
)
:
\ReaderCreates a new TabsToSpaces using the passed in
Reader for instantiation.
| Name | Type | Description |
|---|---|---|
| $reader | \Reader | A Reader object providing the underlying stream. Must not be |
| Type | Description |
|---|---|
| \Reader |

read(
$len
=
null
)
:
\theReturns stream after converting tabs to the specified number of spaces.
| Name | Type | Description |
|---|---|---|
| $len |
| Type | Description |
|---|---|
| \the |
- exception
- IOException if the underlying stream throws an IOException during reading