Class FileStream
Token stream iterator created from a file.
-
TokenReflection\Stream\StreamBase
implements
SeekableIterator,
Countable,
ArrayAccess,
Serializable
-
TokenReflection\Stream\FileStream
Methods summary
public
|
#
__construct( string $fileName )
Constructor.
Creates a token substream from a file.
Parameters
- $fileName
string $fileName File name
Throws
Overrides
|
Methods inherited from TokenReflection\Stream\StreamBase
__toString(),
count(),
current(),
find(),
findMatchingBracket(),
getFileName(),
getSource(),
getSourcePart(),
getTokenName(),
getTokenValue(),
getType(),
is(),
isWhitespace(),
key(),
next(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
processSource(),
rewind(),
seek(),
serialize(),
skipWhitespaces(),
unserialize(),
valid()
|