summaryrefslogtreecommitdiff
path: root/vendor/swiftmailer/classes/Swift/InputByteStream.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-04 21:33:05 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-04 21:33:05 -0500
commit135b921db75da5995eab7e36393ecd4d2b0bc66f (patch)
tree46efc60fcf1f9d5c57ab1fb9418c2acfbda0698a /vendor/swiftmailer/classes/Swift/InputByteStream.php
parent850645dd6b22f5b495d1680e0b49540e0ebf9bd3 (diff)
Switch to composer
Diffstat (limited to 'vendor/swiftmailer/classes/Swift/InputByteStream.php')
-rw-r--r--vendor/swiftmailer/classes/Swift/InputByteStream.php75
1 files changed, 0 insertions, 75 deletions
diff --git a/vendor/swiftmailer/classes/Swift/InputByteStream.php b/vendor/swiftmailer/classes/Swift/InputByteStream.php
deleted file mode 100644
index fd45ab93..00000000
--- a/vendor/swiftmailer/classes/Swift/InputByteStream.php
+++ /dev/null
@@ -1,75 +0,0 @@
-<?php
-
-/*
- * This file is part of SwiftMailer.
- * (c) 2004-2009 Chris Corbyn
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-/**
- * An abstract means of writing data.
- *
- * Classes implementing this interface may use a subsystem which requires less
- * memory than working with large strings of data.
- *
- * @author Chris Corbyn
- */
-interface Swift_InputByteStream
-{
- /**
- * Writes $bytes to the end of the stream.
- *
- * Writing may not happen immediately if the stream chooses to buffer. If
- * you want to write these bytes with immediate effect, call {@link commit()}
- * after calling write().
- *
- * This method returns the sequence ID of the write (i.e. 1 for first, 2 for
- * second, etc etc).
- *
- * @param string $bytes
- *
- * @return int
- *
- * @throws Swift_IoException
- */
- public function write($bytes);
-
- /**
- * For any bytes that are currently buffered inside the stream, force them
- * off the buffer.
- *
- * @throws Swift_IoException
- */
- public function commit();
-
- /**
- * Attach $is to this stream.
- *
- * The stream acts as an observer, receiving all data that is written.
- * All {@link write()} and {@link flushBuffers()} operations will be mirrored.
- *
- * @param Swift_InputByteStream $is
- */
- public function bind(Swift_InputByteStream $is);
-
- /**
- * 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.
- *
- * @param Swift_InputByteStream $is
- */
- public function unbind(Swift_InputByteStream $is);
-
- /**
- * Flush the contents of the stream (empty it) and set the internal pointer
- * to the beginning.
- *
- * @throws Swift_IoException
- */
- public function flushBuffers();
-}