This repository has been archived on 2019-03-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
paper-pi/app/Paper/PrinterElements/PrinterDocument.php
2019-03-01 07:58:22 +01:00

30 lines
483 B
PHP

<?php
/**
* Created by PhpStorm.
* User: k
* Date: 27.02.2019
* Time: 23:49
*/
namespace App\Paper\PrinterElements;
use App\Interfaces\PrinterElementInterface;
class PrinterDocument implements PrinterElementInterface
{
private $elements = [];
public function render(): string
{
foreach ($this->elements as $element) {
}
}
public function addElement(PrinterElementInterface $element)
{
$this->elements[] = $element;
}
}