]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/stacker/file/fifo/class_FiFoFileStack.php
Continued with indexes/stacks:
[core.git] / inc / classes / main / stacker / file / fifo / class_FiFoFileStack.php
index 8d49b74f26ab19f1c276e6be78ac23471cafbad0..899338d5983f60d03a959bf63fe239075b9eeb06 100644 (file)
@@ -36,14 +36,15 @@ class FiFoFileStack extends BaseFileStack implements StackableFile, Registerable
         * Creates an instance of this class
         *
         * @param       $fileName               Absolute Name of stack file
+        * @param       $type                   Type of this stack (e.g. url_source for URL sources)
         * @return      $stackInstance  An instance of a Stackable class
         */
-       public final static function createFiFoFileStack ($fileName) {
+       public final static function createFiFoFileStack ($fileName, $type) {
                // Get new instance
                $stackInstance = new FiFoFileStack();
 
                // Init this stack
-               $stackInstance->initFileStack($fileName);
+               $stackInstance->initFileStack($fileName, $type);
 
                // Return the prepared instance
                return $stackInstance;