<commit_before><?php
/**
 * Frcho
 *
 * @author      <NAME> <<EMAIL>>
 * @copyright   2013 Frcho
 * @link        http://siphoc.com
 */

namespace Frcho\PdfBundle\Generator;

use Knp\Snappy\GeneratorInterface;
use Frcho\PdfBundle\Converter\ConverterInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Log\LoggerInterface;
use Symfony\Component\Templating\EngineInterface;

/**
 * The actual PDF Generator that'll transform a view into a proper PDF.
 *
 * @author <NAME> <<EMAIL>>
 */
class PdfGenerator implements GeneratorInterface
{
    /**
     * The default filename we'll use for the downloadable file.
     *
     * @var string
     */
    protected $filename = 'pdfbundle.pdf';

    /**
     * The CssToHTML Converter.<commit_msg>Change Symfony\Component\HttpKernel\Log\LoggerInterface for sr\Log\LoggerInterface because this was removed<commit_after><?php
/**
 * Frcho
 *
 * @author      <NAME> <<EMAIL>>
 * @copyright   2013 Frcho
 * @link        http://siphoc.com
 */

namespace Frcho\PdfBundle\Generator;

use Knp\Snappy\GeneratorInterface;
use Frcho\PdfBundle\Converter\ConverterInterface;
use Symfony\Component\HttpFoundation\Response;
use Psr\Log\LoggerInterface;
use Symfony\Component\Templating\EngineInterface;

/**
 * The actual PDF Generator that'll transform a view into a proper PDF.
 *
 * @author <NAME> <<EMAIL>>
 */
class PdfGenerator implements GeneratorInterface
{
    /**
     * The default filename we'll use for the downloadable file.
     *
     * @var string
     */
    protected $filename = 'pdfbundle.pdf';

    /**
     * The CssToHTML Converter.
{'fraction_non_alphanumeric': 0.11488573193329216, 'fraction_numerical': 0.004941321803582459, 'mean_word_length': 3.5, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2101939', 'n_tokens_mistral': 495, 'n_tokens_neox': 483, 'n_words': 122}