src/Persist.php
public function remove()
    {
        $this->debug->groupCollapsed(__METHOD__);
        $name = $this->data['name'];
        $this->trashCollectFiles($this->data);
        $this->data = array();
        unset($_SESSION['form_persist'][$name]);
        if (empty($_SESSION['form_persist'])) {
            unset($_SESSION['form_persist']);
        }
        $this->debug->groupEnd();
    }
public function remove()
    {
        $this->debug->groupCollapsed(__METHOD__);
        $name = $this->data['name'];
        $this->trashCollectFiles($this->data);
        $this->data = array();
        unset($_SESSION['form_persist'][$name]);
        if (empty($_SESSION['form_persist'])) {
            unset($_SESSION['form_persist']);
        }
        $this->debug->groupEnd();
    }
public function remove ( ) { $ this -> debug -> groupCollapsed ( __METHOD__ ) ; $ name = $ this -> data [ 'name' ] ; $ this -> trashCollectFiles ( $ this -> data ) ; $ this -> data = array ( ) ; unset ( $ _SESSION [ 'form_persist' ] [ $ name ] ) ; if ( empty ( $ _SESSION [ 'form_persist' ] ) ) { unset ( $ _SESSION [ 'form_persist' ] ) ; } $ this -> debug -> groupEnd ( ) ; }
remove current form's perist data

@return void
remove current form s perist data