]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/index/class_
Continued:
[core.git] / framework / main / classes / index / class_
index a130144f05101e6c6a8878e7d8c2a4394b88eaf2..f4713de8b7bde149854eb27c0d1216a46bd63f2d 100644 (file)
@@ -1,11 +1,14 @@
 <?php
 // Own namespace
-namespace CoreFramework\Index\!!!;
+namespace Org\Mxchange\CoreFramework\Index\!!!;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Index\BaseIndex;
 use Org\Mxchange\CoreFramework\Index\Indexable;
 
+// Import SPL stuff
+use \SplFileInfo;
+
 /**
  * A ??? index class
  *
@@ -45,12 +48,12 @@ class ???Index extends BaseIndex implements Indexable, Registerable {
         * @param       $fileName               Name of the file stack to create an index file for
         * @return      $indexInstance  An instance of this Index class
         */
-       public final static function create???Index ($fileName) {
+       public final static function create???Index (SplFileInfo $fileInfoInstance) {
                // Get a new instance
                $indexInstance = new ???Index();
 
                // Initialize index
-               $indexInstance->initIndex($fileName);
+               $indexInstance->initIndex($fileInfoInstance);
 
                // Return the prepared instance
                return $indexInstance;