public function rollback() {
        if ($files = $this->getAllFiles()) {
            foreach ($files as $file) {
                if ($file instanceof File) {
                    $file->delete();
                }
            }
        }

        $this->_file = null;
        $this->_files = array();

        return $this;
    }
public function rollback() {
        if ($files = $this->getAllFiles()) {
            foreach ($files as $file) {
                if ($file instanceof File) {
                    $file->delete();
                }
            }
        }

        $this->_file = null;
        $this->_files = array();

        return $this;
    }
public function rollback ( ) { if ( $ files = $ this -> getAllFiles ( ) ) { foreach ( $ files as $ file ) { if ( $ file instanceof File ) { $ file -> delete ( ) ; } } } $ this -> _file = null ; $ this -> _files = array ( ) ; return $ this ; }
Rollback and delete all uploaded and transformed files.

@return \Transit\Transit
Rollback and delete all uploaded and transformed files .