public function renderString($code, array $parameters = [])
    {
        $parameters = $this->getParameters($parameters);
        $method = method_exists($this->jade, 'renderString')
            ? [$this->jade, 'renderString']
            : [$this->jade, 'render'];

        return call_user_func($method, $code, $parameters);
    }
public function renderString($code, array $parameters = [])
    {
        $parameters = $this->getParameters($parameters);
        $method = method_exists($this->jade, 'renderString')
            ? [$this->jade, 'renderString']
            : [$this->jade, 'render'];

        return call_user_func($method, $code, $parameters);
    }
public function renderString ( $ code , array $ parameters = [ ] ) { $ parameters = $ this -> getParameters ( $ parameters ) ; $ method = method_exists ( $ this -> jade , 'renderString' ) ? [ $ this -> jade , 'renderString' ] : [ $ this -> jade , 'render' ] ; return call_user_func ( $ method , $ code , $ parameters ) ; }
Render a template string.

@param string|\Symfony\Component\Templating\TemplateReferenceInterface $name
@param array                                                           $parameters

@throws \ErrorException when a forbidden parameter key is used

@return string
Render a template string .