original_string: public function afterSave($insert, $changedAttributes)
      {
          try {
              if ($insert) {
                  $this->insertWords();
              } else {
                  $this->updateWords();
              }
          } catch (Exception $e) {
              throw $e;
          }
          parent::afterSave($insert, $changedAttributes);
      }
code: public function afterSave($insert, $changedAttributes)
      {
          try {
              if ($insert) {
                  $this->insertWords();
              } else {
                  $this->updateWords();
              }
          } catch (Exception $e) {
              throw $e;
          }
          parent::afterSave($insert, $changedAttributes);
      }
code_tokens: public function afterSave ( $ insert , $ changedAttributes ) { try { if ( $ insert ) { $ this -> insertWords ( ) ; } else { $ this -> updateWords ( ) ; } } catch ( Exception $ e ) { throw $ e ; } parent :: afterSave ( $ insert , $ changedAttributes ) ; }
docstring: Updates post tag words.
  @param bool $insert
  @param array $changedAttributes
  @throws Exception
docstring_tokens: Updates post tag words .