original_string: public function getComponent($componentName)
      {
          if (!($componentSection = $this->hasComponent($componentName))) {
              return null;
          }
  
          return ComponentManager::instance()->makeComponent(
              $componentName,
              null,
              $this->settings['components'][$componentSection]
          );
      }
code: public function getComponent($componentName)
      {
          if (!($componentSection = $this->hasComponent($componentName))) {
              return null;
          }
  
          return ComponentManager::instance()->makeComponent(
              $componentName,
              null,
              $this->settings['components'][$componentSection]
          );
      }
code_tokens: public function getComponent ( $ componentName ) { if ( ! ( $ componentSection = $ this -> hasComponent ( $ componentName ) ) ) { return null ; } return ComponentManager :: instance ( ) -> makeComponent ( $ componentName , null , $ this -> settings [ 'components' ] [ $ componentSection ] ) ; }
docstring: Returns a component by its name.
  This method is used only in the back-end and for internal system needs when
  the standard way to access components is not an option.
  @param string $componentName Specifies the component name.
  @return \Cms\Classes\ComponentBase Returns the component instance or null.
docstring_tokens: Returns a component by its name . This method is used only in the back - end and for internal system needs when the standard way to access components is not an option .