original_string: public function create(String $path = NULL) : String
      {
          if( isset($this->sets['filePath']) )
          {
              $path = $this->sets['filePath'];
          }
  
          # It keeps the used filters belonging to the GD class.
          # [5.7.8]added
          $this->sets['filters'] = $this->filters;
  
          $settings = $this->sets;
          
          $this->sets = [];
  
          return $this->image->thumb($path, $settings);
      }
code: public function create(String $path = NULL) : String
      {
          if( isset($this->sets['filePath']) )
          {
              $path = $this->sets['filePath'];
          }
  
          # It keeps the used filters belonging to the GD class.
          # [5.7.8]added
          $this->sets['filters'] = $this->filters;
  
          $settings = $this->sets;
          
          $this->sets = [];
  
          return $this->image->thumb($path, $settings);
      }
code_tokens: public function create ( String $ path = NULL ) : String { if ( isset ( $ this -> sets [ 'filePath' ] ) ) { $ path = $ this -> sets [ 'filePath' ] ; } # It keeps the used filters belonging to the GD class. # [5.7.8]added $ this -> sets [ 'filters' ] = $ this -> filters ; $ settings = $ this -> sets ; $ this -> sets = [ ] ; return $ this -> image -> thumb ( $ path , $ settings ) ; }
docstring: Create new image
  
  @param string $path = NULL
  
  @return string
docstring_tokens: Create new image