public function restore($modelitemId)
    {
        event(new BeforeRestore($this));

        $this->findOnlyTrashed($modelitemId);

        $this->beforeRestore();

        $this->doRestore();

        $this->afterRestore();

        event(new AfterRestore($this));
    }
public function restore($modelitemId)
    {
        event(new BeforeRestore($this));

        $this->findOnlyTrashed($modelitemId);

        $this->beforeRestore();

        $this->doRestore();

        $this->afterRestore();

        event(new AfterRestore($this));
    }
public function restore ( $ modelitemId ) { event ( new BeforeRestore ( $ this ) ) ; $ this -> findOnlyTrashed ( $ modelitemId ) ; $ this -> beforeRestore ( ) ; $ this -> doRestore ( ) ; $ this -> afterRestore ( ) ; event ( new AfterRestore ( $ this ) ) ; }
Restore Action.

Fires off beforeRestore(), doRestore() and afterRestore()

@param int $modelitemId

@return
Restore Action .