original_string: protected function resolveByOption($option)
      {
          $model = str_replace('/', '\\', $option);
  
          $namespaceModel = $this->container->getNamespace() .'Models\\' .$model;
  
          if (Str::startsWith($model, '\\')) {
              $this->data['fullModel'] = trim($model, '\\');
          } else {
              $this->data['fullModel'] = $namespaceModel;
          }
  
          $this->data['model'] = $model = class_basename(trim($model, '\\'));
  
          $this->data['camelModel'] = Str::camel($model);
  
          $this->data['pluralModel'] = Str::plural(Str::camel($model));
  
          //
          $config = $this->container['config'];
  
          $this->data['fullUserModel'] = $model = $config->get('auth.providers.users.model', 'App\Models\User');
  
          $this->data['userModel'] = class_basename(trim($model, '\\'));
      }
code: protected function resolveByOption($option)
      {
          $model = str_replace('/', '\\', $option);
  
          $namespaceModel = $this->container->getNamespace() .'Models\\' .$model;
  
          if (Str::startsWith($model, '\\')) {
              $this->data['fullModel'] = trim($model, '\\');
          } else {
              $this->data['fullModel'] = $namespaceModel;
          }
  
          $this->data['model'] = $model = class_basename(trim($model, '\\'));
  
          $this->data['camelModel'] = Str::camel($model);
  
          $this->data['pluralModel'] = Str::plural(Str::camel($model));
  
          //
          $config = $this->container['config'];
  
          $this->data['fullUserModel'] = $model = $config->get('auth.providers.users.model', 'App\Models\User');
  
          $this->data['userModel'] = class_basename(trim($model, '\\'));
      }
code_tokens: protected function resolveByOption ( $ option ) { $ model = str_replace ( '/' , '\\' , $ option ) ; $ namespaceModel = $ this -> container -> getNamespace ( ) . 'Models\\' . $ model ; if ( Str :: startsWith ( $ model , '\\' ) ) { $ this -> data [ 'fullModel' ] = trim ( $ model , '\\' ) ; } else { $ this -> data [ 'fullModel' ] = $ namespaceModel ; } $ this -> data [ 'model' ] = $ model = class_basename ( trim ( $ model , '\\' ) ) ; $ this -> data [ 'camelModel' ] = Str :: camel ( $ model ) ; $ this -> data [ 'pluralModel' ] = Str :: plural ( Str :: camel ( $ model ) ) ; // $ config = $ this -> container [ 'config' ] ; $ this -> data [ 'fullUserModel' ] = $ model = $ config -> get ( 'auth.providers.users.model' , 'App\Models\User' ) ; $ this -> data [ 'userModel' ] = class_basename ( trim ( $ model , '\\' ) ) ; }
docstring: Resolve Container after getting input option.
  
  @param string $option
  
  @return array
docstring_tokens: Resolve Container after getting input option .