original_string: protected function _create($class, $alias, $settings)
      {
          $instance = new $class($this->_View, $settings);
  
          $enable = isset($settings['enabled']) ? $settings['enabled'] : true;
          if ($enable) {
              $this->getEventManager()->on($instance);
          }
  
          return $instance;
      }
code: protected function _create($class, $alias, $settings)
      {
          $instance = new $class($this->_View, $settings);
  
          $enable = isset($settings['enabled']) ? $settings['enabled'] : true;
          if ($enable) {
              $this->getEventManager()->on($instance);
          }
  
          return $instance;
      }
code_tokens: protected function _create ( $ class , $ alias , $ settings ) { $ instance = new $ class ( $ this -> _View , $ settings ) ; $ enable = isset ( $ settings [ 'enabled' ] ) ? $ settings [ 'enabled' ] : true ; if ( $ enable ) { $ this -> getEventManager ( ) -> on ( $ instance ) ; } return $ instance ; }
docstring: Create the helper instance.
  
  Part of the template method for Cake\Core\ObjectRegistry::load()
  Enabled helpers will be registered with the event manager.
  
  @param string $class The class to create.
  @param string $alias The alias of the loaded helper.
  @param array $settings An array of settings to use for the helper.
  @return \Cake\View\Helper The constructed helper class.
docstring_tokens: Create the helper instance .