public function delete($id)
    {
        $this->fireEvent('deleting', [$id]);

        $deleted = $this->model->destroy($id);

        $this->fireEvent('deleted', [$id, $deleted]);

        return $deleted;
    }
public function delete($id)
    {
        $this->fireEvent('deleting', [$id]);

        $deleted = $this->model->destroy($id);

        $this->fireEvent('deleted', [$id, $deleted]);

        return $deleted;
    }
public function delete ( $ id ) { $ this -> fireEvent ( 'deleting' , [ $ id ] ) ; $ deleted = $ this -> model -> destroy ( $ id ) ; $ this -> fireEvent ( 'deleted' , [ $ id , $ deleted ] ) ; return $ deleted ; }
Find and delete a resource by ID.

@param  int  $id
@return bool
Find and delete a resource by ID .