public function getImage()
    {
        $code = $this->code->generate(
            $this->params['chars'],
            $this->params['length'][0],
            $this->params['length'][1]
        );

        $this->storage->push($code);

        return $this->generator->render($code, $this->params);
    }
public function getImage()
    {
        $code = $this->code->generate(
            $this->params['chars'],
            $this->params['length'][0],
            $this->params['length'][1]
        );

        $this->storage->push($code);

        return $this->generator->render($code, $this->params);
    }
public function getImage ( ) { $ code = $ this -> code -> generate ( $ this -> params [ 'chars' ] , $ this -> params [ 'length' ] [ 0 ] , $ this -> params [ 'length' ] [ 1 ] ) ; $ this -> storage -> push ( $ code ) ; return $ this -> generator -> render ( $ code , $ this -> params ) ; }
Output a PNG image.

@return mixed
Output a PNG image .