1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 22:26:46 +02:00

feat(core): Hide access for all core properties #467

This commit is contained in:
Awilum
2020-09-03 11:18:22 +03:00
parent 0b02c334b9
commit 2a30bf2c2a

View File

@@ -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;
}
}