15 lines
331 B
PHP
Executable File
15 lines
331 B
PHP
Executable File
<?php
|
|
|
|
namespace itguild\forms\form\builders;
|
|
|
|
|
|
use itguild\forms\form\inputs\BaseInput;
|
|
use itguild\forms\form\inputs\TextInput;
|
|
|
|
class TextInputBuilder implements Builder
|
|
{
|
|
public static function build(string $name, array $params = []): BaseInput
|
|
{
|
|
return new TextInput(name: $name, paramsArray: $params);
|
|
}
|
|
} |