public function rewindFile()
    {
        $this->openFile();
        if(!rewind($this->getFile()))
        {
            throw FileOperationException::createForFailedToRewindFile($this->getFilePath());
        }
        return $this;
    }
public function rewindFile()
    {
        $this->openFile();
        if(!rewind($this->getFile()))
        {
            throw FileOperationException::createForFailedToRewindFile($this->getFilePath());
        }
        return $this;
    }
public function rewindFile ( ) { $ this -> openFile ( ) ; if ( ! rewind ( $ this -> getFile ( ) ) ) { throw FileOperationException :: createForFailedToRewindFile ( $ this -> getFilePath ( ) ) ; } return $ this ; }
Rewind the file
@return $this
@throws AtomicFileException
Rewind the file