public function unload()
    {
        $this->hook('beforeUnload');
        $this->id = null;
        $this->data = [];
        $this->dirty = [];
        $this->hook('afterUnload');

        return $this;
    }
public function unload()
    {
        $this->hook('beforeUnload');
        $this->id = null;
        $this->data = [];
        $this->dirty = [];
        $this->hook('afterUnload');

        return $this;
    }
public function unload ( ) { $ this -> hook ( 'beforeUnload' ) ; $ this -> id = null ; $ this -> data = [ ] ; $ this -> dirty = [ ] ; $ this -> hook ( 'afterUnload' ) ; return $ this ; }
Unload model.

@return $this
Unload model .