private function loadIndexFile(string $indexFilepath): array
    {
        $this->status = IndexInterface::STATUS_LOADED;
        return \unserialize(\file_get_contents($indexFilepath));
    }
private function loadIndexFile(string $indexFilepath): array
    {
        $this->status = IndexInterface::STATUS_LOADED;
        return \unserialize(\file_get_contents($indexFilepath));
    }
private function loadIndexFile ( string $ indexFilepath ) : array { $ this -> status = IndexInterface :: STATUS_LOADED ; return \ unserialize ( \ file_get_contents ( $ indexFilepath ) ) ; }
Reads the file and unserializes it.
@param string $indexFilepath
@return array
Reads the file and unserializes it .