public function delete(Identifiable $model)
    {
        $this->checkIsModel($model);
        $this->publish('deleting', $model);
        $model->delete();
        $this->publish('deleted', $model);
    }
public function delete(Identifiable $model)
    {
        $this->checkIsModel($model);
        $this->publish('deleting', $model);
        $model->delete();
        $this->publish('deleted', $model);
    }
public function delete ( Identifiable $ model ) { $ this -> checkIsModel ( $ model ) ; $ this -> publish ( 'deleting' , $ model ) ; $ model -> delete ( ) ; $ this -> publish ( 'deleted' , $ model ) ; }
Delete the passed model.

@param \Ems\Contracts\Core\Identifiable $model

@return void
Delete the passed model .