services:
    endroid.qrcode.factory:
        class: Endroid\QrCode\Factory\QrCodeFactory
        arguments: [ null, '@endroid.qrcode.writer_registry' ]
    endroid.qrcode.twig.extension:
        class: Endroid\QrCode\Twig\Extension\QrCodeExtension
        arguments: [ '@endroid.qrcode.factory', '@router']
        tags:
            - { name: twig.extension }
    endroid.qrcode.writer_registry:
        class: Endroid\QrCode\WriterRegistry
    endroid.qrcode.writer.binary_writer:
        class: Endroid\QrCode\Writer\BinaryWriter
        tags:
            - { name: endroid.qrcode.writer }
    endroid.qrcode.writer.debug_writer:
        class: Endroid\QrCode\Writer\DebugWriter
        tags:
            - { name: endroid.qrcode.writer }
    endroid.qrcode.writer.eps_writer:
        class: Endroid\QrCode\Writer\EpsWriter
        tags:
            - { name: endroid.qrcode.writer }
    endroid.qrcode.writer.png_writer:
        class: Endroid\QrCode\Writer\PngWriter
        tags:
            - { name: endroid.qrcode.writer, set_as_default: true }
    endroid.qrcode.writer.svg_writer:
        class: Endroid\QrCode\Writer\SvgWriter
        tags:
            - { name: endroid.qrcode.writer }