public function reflash(array $keys = null): self
    {
        if ($keys === null) {
            return $this->clear($this->data + $this->session);
        }

        $session = array_intersect_key($this->session, array_flip($keys));
        return $this->clear($this->data + $session);
    }
public function reflash(array $keys = null): self
    {
        if ($keys === null) {
            return $this->clear($this->data + $this->session);
        }

        $session = array_intersect_key($this->session, array_flip($keys));
        return $this->clear($this->data + $session);
    }
public function reflash ( array $ keys = null ) : self { if ( $ keys === null ) { return $ this -> clear ( $ this -> data + $ this -> session ) ; } $ session = array_intersect_key ( $ this -> session , array_flip ( $ keys ) ) ; return $ this -> clear ( $ this -> data + $ session ) ; }
Re-flash data

@param array|null $keys Data

@return Flash
Re - flash data