phplrt/phplrt

View on GitHub
libs/compiler/src/Printer/Printer.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace Phplrt\Compiler\Printer;

abstract class Printer implements PrinterInterface
{
    public function __construct(
        protected readonly Style $style = new Style(),
    ) {}

    public function getStyle(): Style
    {
        return $this->style;
    }
}