phplrt/phplrt

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

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace Phplrt\Compiler\Printer;

/**
 * Responsible for printing values that require specific formatting.
 */
interface PrintableValueInterface
{
    /**
     * Converts a complex/specific value to a string.
     */
    public function print(PrinterInterface $printer): string;
}