original_string: public function getComponent($name)
      {
          $configurationName = $name . 'Component';
          if (is_string($this->module->$configurationName)) {
              return Yii::$app->get($this->module->$configurationName);
          }
          return $this->module->get('podium_' . $name);
      }
code: public function getComponent($name)
      {
          $configurationName = $name . 'Component';
          if (is_string($this->module->$configurationName)) {
              return Yii::$app->get($this->module->$configurationName);
          }
          return $this->module->get('podium_' . $name);
      }
code_tokens: public function getComponent ( $ name ) { $ configurationName = $ name . 'Component' ; if ( is_string ( $ this -> module -> $ configurationName ) ) { return Yii :: $ app -> get ( $ this -> module -> $ configurationName ) ; } return $ this -> module -> get ( 'podium_' . $ name ) ; }
docstring: Returns instance of component of given name.
  @param string $name
  @return object component of the specified ID
  @throws InvalidConfigException
docstring_tokens: Returns instance of component of given name .