original_string: protected function createModel($item)
      {
          if (!isset($item->class) || !strlen($item->class)) {
              throw new ApplicationException(Lang::get('system::lang.settings.missing_model'));
          }
  
          $class = $item->class;
          return $class::instance();
      }
code: protected function createModel($item)
      {
          if (!isset($item->class) || !strlen($item->class)) {
              throw new ApplicationException(Lang::get('system::lang.settings.missing_model'));
          }
  
          $class = $item->class;
          return $class::instance();
      }
code_tokens: protected function createModel ( $ item ) { if ( ! isset ( $ item -> class ) || ! strlen ( $ item -> class ) ) { throw new ApplicationException ( Lang :: get ( 'system::lang.settings.missing_model' ) ) ; } $ class = $ item -> class ; return $ class :: instance ( ) ; }
docstring: Internal method, prepare the list model object
docstring_tokens: Internal method prepare the list model object