private function renderValue($printFormat, array $variables)
    {
        return str_replace(
            array_map(
                function($variable) {
                    return '{{' . $variable . '}}';
                },
                array_keys($variables)
            ),
            array_values($variables),
            $printFormat
        );
    }
private function renderValue($printFormat, array $variables)
    {
        return str_replace(
            array_map(
                function($variable) {
                    return '{{' . $variable . '}}';
                },
                array_keys($variables)
            ),
            array_values($variables),
            $printFormat
        );
    }
private function renderValue ( $ printFormat , array $ variables ) { return str_replace ( array_map ( function ( $ variable ) { return '{{' . $ variable . '}}' ; } , array_keys ( $ variables ) ) , array_values ( $ variables ) , $ printFormat ) ; }
Render variables with passed print format

@param $printFormat
@param array $variables
@return mixed
Render variables with passed print format