original_string: protected function processDataUrl()
      {
          $mime = $this->image->mime ? $this->image->mime : 'image/png';
  
          return sprintf('data:%s;base64,%s',
              $mime,
              base64_encode($this->process($this->image, $mime, $this->quality))
          );
      }
code: protected function processDataUrl()
      {
          $mime = $this->image->mime ? $this->image->mime : 'image/png';
  
          return sprintf('data:%s;base64,%s',
              $mime,
              base64_encode($this->process($this->image, $mime, $this->quality))
          );
      }
code_tokens: protected function processDataUrl ( ) { $ mime = $ this -> image -> mime ? $ this -> image -> mime : 'image/png' ; return sprintf ( 'data:%s;base64,%s' , $ mime , base64_encode ( $ this -> process ( $ this -> image , $ mime , $ this -> quality ) ) ) ; }
docstring: Processes and returns encoded image as data-url string
  
  @return string
docstring_tokens: Processes and returns encoded image as data - url string