From 3fd785654372d493c031d9b541ab33a881023a32 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 26 Feb 2021 19:16:17 +0300 Subject: * switch to composer for qrcode and otp dependencies * move most OTP-related stuff into userhelper * remove old phpqrcode and otphp libraries --- .../tests/TestOptionsTrait.php | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 vendor/chillerlan/php-settings-container/tests/TestOptionsTrait.php (limited to 'vendor/chillerlan/php-settings-container/tests/TestOptionsTrait.php') diff --git a/vendor/chillerlan/php-settings-container/tests/TestOptionsTrait.php b/vendor/chillerlan/php-settings-container/tests/TestOptionsTrait.php new file mode 100644 index 000000000..261f533ac --- /dev/null +++ b/vendor/chillerlan/php-settings-container/tests/TestOptionsTrait.php @@ -0,0 +1,42 @@ + + * @copyright 2018 smiley + * @license MIT + */ + +namespace chillerlan\SettingsTest; + +trait TestOptionsTrait{ + + protected $test1 = 'foo'; + + protected $test2; + + protected $testConstruct; + + protected $test4; + + protected $test5; + + protected $test6; + + protected function TestOptionsTrait(){ + $this->testConstruct = 'success'; + } + + protected function set_test5($value){ + $this->test5 = $value.'_test5'; + } + + protected function get_test6(){ + return $this->test6 === null + ? 'null' + : sha1($this->test6); + } +} -- cgit v1.2.3-54-g00ecf