original_string: public final function dispose()
     {
  
        if ( $this->disposed )
        {
           return;
        }
  
        if ( \is_resource( $this->r ) )
        {
           \imagedestroy( $this->r );
        }
  
        $this->r        = null;
        $this->size     = null;
        $this->colors   = [];
        $this->mimeType = null;
        $this->_file    = null;
        $this->disposed = true;
  
     }
code: public final function dispose()
     {
  
        if ( $this->disposed )
        {
           return;
        }
  
        if ( \is_resource( $this->r ) )
        {
           \imagedestroy( $this->r );
        }
  
        $this->r        = null;
        $this->size     = null;
        $this->colors   = [];
        $this->mimeType = null;
        $this->_file    = null;
        $this->disposed = true;
  
     }
code_tokens: public final function dispose ( ) { if ( $ this -> disposed ) { return ; } if ( \ is_resource ( $ this -> r ) ) { \ imagedestroy ( $ this -> r ) ; } $ this -> r = null ; $ this -> size = null ; $ this -> colors = [ ] ; $ this -> mimeType = null ; $ this -> _file = null ; $ this -> disposed = true ; }
docstring: Disposes the current image resource.
docstring_tokens: Disposes the current image resource .