wol-soft/php-json-schema-model-generator

View on GitHub
src/PropertyProcessor/Decorator/TypeHint/TypeHintDecoratorInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

declare(strict_types = 1);

namespace PHPModelGenerator\PropertyProcessor\Decorator\TypeHint;

/**
 * Interface TypeHintDecoratorInterface
 *
 * @package PHPModelGenerator\PropertyProcessor\Decorator\Property
 */
interface TypeHintDecoratorInterface
{
    /**
     * Decorate a given string
     *
     * @param string $input The input getting decorated
     * @param bool $outputType
     *
     * @return string
     */
    public function decorate(string $input, bool $outputType = false): string;
}