From 2a30bf2c2a14b5ff050190a217fc3a0d75b9bfc6 Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 3 Sep 2020 11:18:22 +0300 Subject: [PATCH] feat(core): Hide access for all core properties #467 --- src/flextype/Foundation/Plugins.php | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/src/flextype/Foundation/Plugins.php b/src/flextype/Foundation/Plugins.php index 97dac800..16db9d3c 100755 --- a/src/flextype/Foundation/Plugins.php +++ b/src/flextype/Foundation/Plugins.php @@ -378,27 +378,4 @@ class Plugins include_once PATH['project'] . '/plugins/' . $plugin_name . '/bootstrap.php'; } } - - /** - * Dynamically access entries properties. - * - * @param string $key Key - * @return mixed - */ - public function __get(string $key) - { - return $this->$key; - } - - /** - * Dynamically set entries properties. - * - * @param string $key Key - * @param mixed $value Value - * @return void - */ - public function __set(string $key, $value): void - { - $this->$key = $value; - } }