classes/phing/system/io/FileInputStream.php
\FileInputStream
Input stream subclass for file streams.
- Extends from
- \InputStream
- package
- phing.system.io
Properties
Methods

__construct(
\PhingFile|string $file, boolean $append
=
false
)
:
Construct a new FileInputStream.
| Name | Type | Description |
|---|---|---|
| $file | \PhingFile|string | Path to the file |
| $append | boolean | Whether to append (ignored) |
- throws
- - if invalid argument specified.
- throws
- - if unable to open file.

__toString(
)
:
stringReturns a string representation of the attached file.
| Type | Description |
|---|---|
| string |