original_string: protected function setFramework($framework)
      {
          $framework = strtolower($framework);
  
          if (! in_array($framework, ['laravel', 'lumen'])) {
              throw new FrameworkNotSupportException($framework);
          }
  
          $this->framework = $framework;
      }
code: protected function setFramework($framework)
      {
          $framework = strtolower($framework);
  
          if (! in_array($framework, ['laravel', 'lumen'])) {
              throw new FrameworkNotSupportException($framework);
          }
  
          $this->framework = $framework;
      }
code_tokens: protected function setFramework ( $ framework ) { $ framework = strtolower ( $ framework ) ; if ( ! in_array ( $ framework , [ 'laravel' , 'lumen' ] ) ) { throw new FrameworkNotSupportException ( $ framework ) ; } $ this -> framework = $ framework ; }
docstring: Set framework.
  
  @param string $framework
  
  @throws \Exception
docstring_tokens: Set framework .