From 5230f8f8a86fc1ae5d90f8c74ae65c93e197502b Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 22 Jan 2015 09:14:12 +0100 Subject: Apply namespaces to class inheritances (pt1) --- framework/IO/ITextWriter.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 framework/IO/ITextWriter.php (limited to 'framework/IO/ITextWriter.php') diff --git a/framework/IO/ITextWriter.php b/framework/IO/ITextWriter.php new file mode 100644 index 00000000..d22e5cfe --- /dev/null +++ b/framework/IO/ITextWriter.php @@ -0,0 +1,34 @@ + + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005-2014 PradoSoft + * @license http://www.pradosoft.com/license/ + * @package Prado\IO + */ + +namespace Prado\IO; + +/** + * ITextWriter interface. + * + * This interface must be implemented by writers. + * + * @author Qiang Xue + * @package Prado\IO + * @since 3.0 + */ +interface ITextWriter +{ + /** + * Writes a string. + * @param string string to be written + */ + public function write($str); + /** + * Flushes the content that has been written. + */ + public function flush(); +} \ No newline at end of file -- cgit v1.2.3