]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/stacker/file/class_BaseFileStack.php
Also add getFileSize() here, too. This satisfies the interface.
[core.git] / inc / classes / main / stacker / file / class_BaseFileStack.php
index 6b50a6e0d934b81b3c0d434972dcdfa5c00d3452..a07d503422dc75628716b3879314734952310ca3 100644 (file)
@@ -491,6 +491,15 @@ class BaseFileStack extends BaseStacker {
                throw new UnsupportedOperationException(array($this, __FUNCTION__, $this->getIteratorInstance()->getPointerInstance()), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
+       /**
+        * "Getter" for file size
+        *
+        * @return      $fileSize       Size of currently loaded file
+        */
+       public function getFileSize () {
+               // Call iterator's method
+               return $this->getIteratorInstance()->getFileSize();
+       }
 }
 
 // [EOF]