public function removeTerm($term_id) {
    $term_id = ($term_id instanceof Term) ? $term_id->id : $term_id;
    return $this->related()->where('term_id', $term_id)->delete();
  }
public function removeTerm($term_id) {
    $term_id = ($term_id instanceof Term) ? $term_id->id : $term_id;
    return $this->related()->where('term_id', $term_id)->delete();
  }
public function removeTerm ( $ term_id ) { $ term_id = ( $ term_id instanceof Term ) ? $ term_id -> id : $ term_id ; return $ this -> related ( ) -> where ( 'term_id' , $ term_id ) -> delete ( ) ; }
Unlink the given term with the current model object

@param $term_id int
The ID of the term or an instance of the Term object

@return bool
TRUE if the term relation has been deleted, otherwise FALSE
Unlink the given term with the current model object