src/Spiritix/Html2Pdf/Output/OutputInterface.php
<?php
/**
* This file is part of the spiritix/php-chrome-html2pdf package.
*
* @copyright Copyright (c) Matthias Isler <mi@matthias-isler.ch>
* @license MIT
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types = 1);
namespace Spiritix\Html2Pdf\Output;
/**
* Output handler interface.
*
* @package Spiritix\Html2Pdf\Output
* @author Matthias Isler <mi@matthias-isler.ch>
*/
interface OutputInterface
{
/**
* Must accept the PDF binary data as an argument.
*
* @param string $data The binary PDF data
*/
public function setPdfData(string $data);
}