From 7e593b91168af53219d83f7e70dc3a2b27734a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B8=D0=B4=D0=BE=D1=80=D0=B5=D0=BD=D0=BA=D0=BE=20?= =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0=20=D0=92=D0=B0=D0=B4=D0=B8?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2=D0=B8=D1=87?= Date: Fri, 15 Mar 2024 14:09:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?src/inputs=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/inputs/TextArea.php | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/inputs/TextArea.php diff --git a/src/inputs/TextArea.php b/src/inputs/TextArea.php new file mode 100644 index 0000000..e9ce354 --- /dev/null +++ b/src/inputs/TextArea.php @@ -0,0 +1,33 @@ +name = $name; + $this->value = $value; + $this->paramsArray = $paramsArray; + } + + public function create(): void + { + $paramsString = $this->createParams($this->paramsArray); + echo ""; + } + + public static function build(string $name, string $value, array $paramsArray = []): void + { + $textarea = new self($name, $value, $paramsArray); + $textarea->create(); + } + + +} \ No newline at end of file