original_string: public function analyze(Model $model, $strategy = 'translatable')
      {
          $this->model = $model;
  
          $this->info = new ModelInformation([]);
  
          switch ($strategy) {
  
              case 'translatable':
                  $this->analyzeForTranslatable();
                  break;
  
              // @codeCoverageIgnoreStart
              default:
                  throw new \UnexpectedValueException("Cannot handle translation strategy '{$strategy}");
          }
  
          return $this->info;
      }
code: public function analyze(Model $model, $strategy = 'translatable')
      {
          $this->model = $model;
  
          $this->info = new ModelInformation([]);
  
          switch ($strategy) {
  
              case 'translatable':
                  $this->analyzeForTranslatable();
                  break;
  
              // @codeCoverageIgnoreStart
              default:
                  throw new \UnexpectedValueException("Cannot handle translation strategy '{$strategy}");
          }
  
          return $this->info;
      }
code_tokens: public function analyze ( Model $ model , $ strategy = 'translatable' ) { $ this -> model = $ model ; $ this -> info = new ModelInformation ( [ ] ) ; switch ( $ strategy ) { case 'translatable' : $ this -> analyzeForTranslatable ( ) ; break ; // @codeCoverageIgnoreStart default : throw new \ UnexpectedValueException ( "Cannot handle translation strategy '{$strategy}" ) ; } return $ this -> info ; }
docstring: Analyzes a model for its translations and returns relevant information.
  
  @param Model  $model
  @param string $strategy
  @return ModelInformation
docstring_tokens: Analyzes a model for its translations and returns relevant information .