public function tileUrlFunction($text, $extension = 'png')
    {
        $router = $this->container->get('router');
        $url = $router->generate('tile', [
            'text' => $text,
            'extension' => $extension,
        ]);

        return $url;
    }
public function tileUrlFunction($text, $extension = 'png')
    {
        $router = $this->container->get('router');
        $url = $router->generate('tile', [
            'text' => $text,
            'extension' => $extension,
        ]);

        return $url;
    }
public function tileUrlFunction ( $ text , $ extension = 'png' ) { $ router = $ this -> container -> get ( 'router' ) ; $ url = $ router -> generate ( 'tile' , [ 'text' => $ text , 'extension' => $ extension , ] ) ; return $ url ; }
Creates the QR code URL corresponding to the given message and extension.

@param $text
@param string $extension

@return mixed
Creates the QR code URL corresponding to the given message and extension .