public function generateFromURI($string)
    {
        $badge = Badge::fromURI($string);

        return $this->getRenderFor($badge->getFormat())->render($badge);
    }
public function generateFromURI($string)
    {
        $badge = Badge::fromURI($string);

        return $this->getRenderFor($badge->getFormat())->render($badge);
    }
public function generateFromURI ( $ string ) { $ badge = Badge :: fromURI ( $ string ) ; return $ this -> getRenderFor ( $ badge -> getFormat ( ) ) -> render ( $ badge ) ; }
Generate and Render a badge according to the format from an URI,
eg license-MIT-blue.svg or I_m-liuggio-yellow.svg.

@param $string
@return Image
Generate and Render a badge according to the format from an URI eg license - MIT - blue . svg or I_m - liuggio - yellow . svg .