X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fmain%2Fclasses%2Ffile_directories%2Fio_stream%2Fclass_FileIoStream.php;h=827bd9d80a31370570ca62cc3b5f6a77c6bcb36c;hp=3de4520b4411468645e995890922d1c863083bdd;hb=9834f12b6c4754df364ae966d87ba389718a05a0;hpb=95a008a7823f28fa6a1172798e0d7565385055d4 diff --git a/inc/main/classes/file_directories/io_stream/class_FileIoStream.php b/inc/main/classes/file_directories/io_stream/class_FileIoStream.php index 3de4520b..827bd9d8 100644 --- a/inc/main/classes/file_directories/io_stream/class_FileIoStream.php +++ b/inc/main/classes/file_directories/io_stream/class_FileIoStream.php @@ -3,7 +3,10 @@ namespace CoreFramework\Stream\Filesystem; // Import framework stuff +use CoreFramework\Factory\ObjectFactory; use CoreFramework\Object\BaseFrameworkSystem; +use CoreFramework\Stream\Filesystem\FileInputStreamer; +use CoreFramework\Stream\Filesystem\FileOutputStreamer; /** * An universal class for file input/output streams. @@ -60,7 +63,7 @@ class FileIoStream extends BaseFrameworkSystem implements FileInputStreamer, Fil * Create a file IO stream. This is a class for performing all actions * on files like creating, deleting and loading them. * - * @return $ioInstance An instance of FileIoStream + * @return $ioInstance An instance of a FileIoStream class */ public static final function createFileIoStream () { // Create new instance @@ -259,7 +262,7 @@ class FileIoStream extends BaseFrameworkSystem implements FileInputStreamer, Fil * @throws UnsupportedOperationException If this method is called */ public function streamData ($data) { - self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.'); + self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.'); throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION); }