1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 19:15:56 +00:00
Files
tt-rss/vendor/chillerlan/php-settings-container/tests/TestOptionsTrait.php
Andrew Dolgov 3fd7856543 * switch to composer for qrcode and otp dependencies
* move most OTP-related stuff into userhelper
* remove old phpqrcode and otphp libraries
2021-02-26 19:16:17 +03:00

43 lines
709 B
PHP

<?php
/**
* Trait TestOptionsTrait
*
* @filesource TestOptionsTrait.php
* @created 28.08.2018
* @package chillerlan\SettingsTest
* @author smiley <smiley@chillerlan.net>
* @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);
}
}