original_string: public function getPlan($planCode)
      {
          $plan = $this->planResource->get($planCode);
          if ($plan instanceof \Exception) {
              throw $plan;
          }
  
          $this->setDeletable(true);
  
          return $this->_setAttributes($plan);
      }
code: public function getPlan($planCode)
      {
          $plan = $this->planResource->get($planCode);
          if ($plan instanceof \Exception) {
              throw $plan;
          }
  
          $this->setDeletable(true);
  
          return $this->_setAttributes($plan);
      }
code_tokens: public function getPlan ( $ planCode ) { $ plan = $ this -> planResource -> get ( $ planCode ) ; if ( $ plan instanceof \ Exception ) { throw $ plan ; } $ this -> setDeletable ( true ) ; return $ this -> _setAttributes ( $ plan ) ; }
docstring: Get plan by plan code.
  
  @param $planCode
  
  @throws
  @throws \Exception
  
  @return $this
docstring_tokens: Get plan by plan code .