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

View on GitHub
src/PropertyProcessor/Decorator/Property/PropertyDecoratorInterface.php

Summary

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

declare(strict_types = 1);

namespace PHPModelGenerator\PropertyProcessor\Decorator\Property;

use PHPModelGenerator\Model\Property\PropertyInterface;

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