Description
Located in File: /vendors/swiftMailer/classes/Swift/ByteStream/AbstractFilterableInputStream.php
Provides the base functionality for an InputStream supporting filters.
- author: - Chris Corbyn
- abstract: -
Classes extended from Swift_ByteStream_AbstractFilterableInputStream:
- Swift_ByteStream_FileByteStream
- Allows reading and writing of bytes to and from a file.
- Swift_Transport_StreamBuffer
- A generic IoBuffer implementation supporting remote sockets and local processes.
Method Detail
Summary:
void
write
(
string $bytes)
Method addFilter (line 55)
void addFilter(
Swift_StreamFilter
$filter, string
$key)
Implementation of:
- Swift_Filterable::addFilter()
- Add a new StreamFilter, referenced by $key.
Add a StreamFilter to this InputByteStream.
Parameters
Info
Method bind (line 106)
Implementation of:
- Swift_InputByteStream::bind()
- Attach $is to this stream.
Attach $is to this stream.
The stream acts as an observer, receiving all data that is written. All write() and flushBuffers() operations will be mirrored.
Parameters
Info
Method commit (line 94)
void commit(
)
Implementation of:
- Swift_InputByteStream::commit()
- For any bytes that are currently buffered inside the stream, force them off the buffer.
For any bytes that are currently buffered inside the stream, force them off the buffer.
Info
- throws - Swift_IoException
- access - public
Method flushBuffers (line 139)
void flushBuffers(
)
Implementation of:
- Swift_InputByteStream::flushBuffers()
- Flush the contents of the stream (empty it) and set the internal pointer to the beginning.
Flush the contents of the stream (empty it) and set the internal pointer to the beginning.
Info
- throws - Swift_IoException
- access - public
Method removeFilter (line 64)
void removeFilter(
string
$key)
Implementation of:
- Swift_Filterable::removeFilter()
- Remove an existing filter using $key.
Remove an already present StreamFilter based on its $key.
Parameters
Info
Method unbind (line 119)
Implementation of:
- Swift_InputByteStream::unbind()
- Remove an already bound stream.
Remove an already bound stream.
If $is is not bound, no errors will be raised. If the stream currently has any buffered data it will be written to $is before unbinding occurs.
Parameters
Info
Method write (line 74)
void write(
string
$bytes)
Implementation of:
- Swift_InputByteStream::write()
- Writes $bytes to the end of the stream.
Writes $bytes to the end of the stream.
Parameters
Info
- throws - Swift_IoException
- access - public