original_string: public function generate(string $subject, string $status, string $color, string $format)
      {
          $badge = new Badge($subject, $status, $color, $format);
  
          return $this->getRendererForFormat($badge->getFormat())->render($badge);
      }
code: public function generate(string $subject, string $status, string $color, string $format)
      {
          $badge = new Badge($subject, $status, $color, $format);
  
          return $this->getRendererForFormat($badge->getFormat())->render($badge);
      }
code_tokens: public function generate ( string $ subject , string $ status , string $ color , string $ format ) { $ badge = new Badge ( $ subject , $ status , $ color , $ format ) ; return $ this -> getRendererForFormat ( $ badge -> getFormat ( ) ) -> render ( $ badge ) ; }
docstring: Generates a badge.
  
  @param string $subject
  @param string $status
  @param string $color
  @param string $format
  
  @return \AltThree\Badger\BadgeImage
docstring_tokens: Generates a badge .