private function reset()
    {
        $vars = get_object_vars($this);
        //
        foreach ($vars as $key => $value) {
            unset($this->$key);
        }
    }
private function reset()
    {
        $vars = get_object_vars($this);
        //
        foreach ($vars as $key => $value) {
            unset($this->$key);
        }
    }
private function reset ( ) { $ vars = get_object_vars ( $ this ) ; // foreach ( $ vars as $ key => $ value ) { unset ( $ this -> $ key ) ; } }
reset the current model if it's deleted.

@return null
reset the current model if it s deleted .