original_string: public function setSubscriptionPeriod(SubscriptionPeriod $period)
      {
          $this->parameters['sub_period_unit'] = $period->getUnit();
          $this->parameters['sub_period_number'] = $period->getInterval();
          $this->parameters['sub_period_moment'] = $period->getMoment();
      }
code: public function setSubscriptionPeriod(SubscriptionPeriod $period)
      {
          $this->parameters['sub_period_unit'] = $period->getUnit();
          $this->parameters['sub_period_number'] = $period->getInterval();
          $this->parameters['sub_period_moment'] = $period->getMoment();
      }
code_tokens: public function setSubscriptionPeriod ( SubscriptionPeriod $ period ) { $ this -> parameters [ 'sub_period_unit' ] = $ period -> getUnit ( ) ; $ this -> parameters [ 'sub_period_number' ] = $ period -> getInterval ( ) ; $ this -> parameters [ 'sub_period_moment' ] = $ period -> getMoment ( ) ; }
docstring: Set subscription payment interval
  @author René de Kat <renedekat@9lives-development.com>
docstring_tokens: Set subscription payment interval