original_string: public function setExtensions(array $extensions)
      {
          $this->_extensions = [];
          foreach ($extensions as $ext) {
              $this->_extensions[] = strtolower($ext);
          }
  
          return $this;
      }
code: public function setExtensions(array $extensions)
      {
          $this->_extensions = [];
          foreach ($extensions as $ext) {
              $this->_extensions[] = strtolower($ext);
          }
  
          return $this;
      }
code_tokens: public function setExtensions ( array $ extensions ) { $ this -> _extensions = [ ] ; foreach ( $ extensions as $ ext ) { $ this -> _extensions [ ] = strtolower ( $ ext ) ; } return $ this ; }
docstring: Set the supported extensions for this route.
  
  @param array $extensions The extensions to set.
  @return $this
docstring_tokens: Set the supported extensions for this route .