From c8e9e4127a19e2b9eb3ca504705a38e993249e39 Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Wed, 6 Mar 2024 12:52:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D0=BB=20=D0=BC?= =?UTF-8?q?=D1=83=D1=81=D0=BE=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/Table/PropertyManagerTrait.php | 47 ------------------- 1 file changed, 47 deletions(-) delete mode 100644 com_oauthserver/administrator/src/Table/PropertyManagerTrait.php diff --git a/com_oauthserver/administrator/src/Table/PropertyManagerTrait.php b/com_oauthserver/administrator/src/Table/PropertyManagerTrait.php deleted file mode 100644 index 92a1c92..0000000 --- a/com_oauthserver/administrator/src/Table/PropertyManagerTrait.php +++ /dev/null @@ -1,47 +0,0 @@ -$name)) { - return $name; - } - - return null; - } - - public function __set($name, $value) - { - // All protected properties names must start with _ - if (str_starts_with($name, '_')) { - return; - } - - // If class has setter for property - $setterName = 'set' . CasesHelper::camelize($name, true); - if (method_exists($this, $setterName)) { - call_user_func([$this, $setterName], $value); - return; - } - - if (isset($this->$name)) { - $this->$name = $value; - } - } -} \ No newline at end of file