summaryrefslogtreecommitdiffstats
path: root/vendor/ipl/html/src/FormDecorator/DecoratorInterface.php
blob: 1ed1a387b32de9e27f68443f1d7f9d78022d1bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace ipl\Html\FormDecorator;

use ipl\Html\Contract\FormElementDecorator;
use ipl\Html\FormElement\BaseFormElement;

/** @deprecated Use {@link FormElementDecorator} instead */
interface DecoratorInterface
{
    /**
     * Set the form element to decorate
     *
     * @param BaseFormElement $formElement
     *
     * @return static
     */
    public function decorate(BaseFormElement $formElement);
}